summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-03-13 14:30:59 +0100
committerGitHub <noreply@github.com>2024-03-13 13:30:59 +0000
commit28012b2f8dbbaf8ae168c7afd33f2f9e00a7d840 (patch)
treecc93d92fccff11ff536525a4ba309dbefc353c6a /tests
parent48820fe69b8061bd949847afc343bf160d05c924 (diff)
Fix `italic` function in math (#3651)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/3650-italic-equation.pngbin0 -> 3958 bytes
-rw-r--r--tests/typ/bugs/3650-italic-equation.typ4
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/bugs/3650-italic-equation.png b/tests/ref/bugs/3650-italic-equation.png
new file mode 100644
index 00000000..41f071ab
--- /dev/null
+++ b/tests/ref/bugs/3650-italic-equation.png
Binary files differ
diff --git a/tests/typ/bugs/3650-italic-equation.typ b/tests/typ/bugs/3650-italic-equation.typ
new file mode 100644
index 00000000..c9b47543
--- /dev/null
+++ b/tests/typ/bugs/3650-italic-equation.typ
@@ -0,0 +1,4 @@
+_abc $sin(x) "abc"$_ \
+$italic(sin(x) "abc" #box[abc])$ \
+*abc $sin(x) "abc"$* \
+$bold(sin(x) "abc" #box[abc])$ \