diff options
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/bugs/math-realize.typ | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/typ/bugs/math-realize.typ b/tests/typ/bugs/math-realize.typ new file mode 100644 index 00000000..c2772ab5 --- /dev/null +++ b/tests/typ/bugs/math-realize.typ @@ -0,0 +1,15 @@ +// Test that content in math can be realized without breaking +// nested equations. + +--- +#let my = $pi$ +#let f1 = box(baseline: 10pt, [f]) +#let f2 = style(sty => f1) +#show math.vec: [nope] + +$ pi a $ +$ my a $ +$ 1 + sqrt(x/2) + sqrt(#hide($x/2$)) $ +$ a x #link("url", $+ b$) $ +$ f f1 f2 $ +$ vec(1,2) * 2 $ |
