diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/symbol.png | bin | 0 -> 14112 bytes | |||
| -rw-r--r-- | tests/typ/text/symbol.typ | 27 |
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/ref/text/symbol.png b/tests/ref/text/symbol.png Binary files differnew file mode 100644 index 00000000..4806683b --- /dev/null +++ b/tests/ref/text/symbol.png diff --git a/tests/typ/text/symbol.typ b/tests/typ/text/symbol.typ new file mode 100644 index 00000000..4dcef58b --- /dev/null +++ b/tests/typ/text/symbol.typ @@ -0,0 +1,27 @@ +// Test symbol notation. + +--- +:face: +:face:unknown: +:woman:old: +:turtle: + +#set text("NewComputerModernMath") +:arrow: +:arrow:l: +:arrow:r:squiggly: +#symbol(("arrow", "tr", "hook").join(":")) + +--- +Just a: colon. \ +Still :not a symbol. \ +Also not:a symbol \ +:arrow:r:this and this:arrow:l: \ + +--- +#show symbol.where(notation: "my:custom"): "MY" +This is :my:custom: notation. + +--- +// Error: 1-14 unknown symbol +:nonexisting: |
