diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math/style.png | bin | 19747 -> 20415 bytes | |||
| -rw-r--r-- | tests/typ/compiler/show-node.typ | 2 | ||||
| -rw-r--r-- | tests/typ/math/style.typ | 5 |
3 files changed, 6 insertions, 1 deletions
diff --git a/tests/ref/math/style.png b/tests/ref/math/style.png Binary files differindex f4a42c70..c5e72258 100644 --- a/tests/ref/math/style.png +++ b/tests/ref/math/style.png diff --git a/tests/typ/compiler/show-node.typ b/tests/typ/compiler/show-node.typ index c69f46bd..27a4b6a9 100644 --- a/tests/typ/compiler/show-node.typ +++ b/tests/typ/compiler/show-node.typ @@ -96,7 +96,7 @@ Hey = Heading --- -// Error: 7-10 expected function, label, string, regular expression, or selector, found color +// Error: 7-10 expected function, label, string, regular expression, symbol, or selector, found color #show red: [] --- diff --git a/tests/typ/math/style.typ b/tests/typ/math/style.typ index dfb7a795..67a410af 100644 --- a/tests/typ/math/style.typ +++ b/tests/typ/math/style.typ @@ -28,3 +28,8 @@ $text(#red, "time"^2) + sqrt("place")$ // Test different font. #show math.equation: set text(font: "Fira Math") $ v := vec(1 + 2, 2 - 4, sqrt(3), arrow(x)) + 1 $ + +--- +// Test using rules for symbols +#show sym.tack: it => $#h(1em) it #h(1em)$ +$ a tack b $ |
