diff options
Diffstat (limited to 'tests/typ/bugs/math-shift.typ')
| -rw-r--r-- | tests/typ/bugs/math-shift.typ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/bugs/math-shift.typ b/tests/typ/bugs/math-shift.typ new file mode 100644 index 00000000..4a833e31 --- /dev/null +++ b/tests/typ/bugs/math-shift.typ @@ -0,0 +1,5 @@ +// https://github.com/typst/typst/issues/2214 +// The math content should also be affected by the TextElem baseline. + +hello #text(baseline: -5pt)[123 #sym.WW\orld]\ +hello #text(baseline: -5pt)[$123 WW#text[or]$ld]\ |
