diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-05 12:25:37 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-05 12:25:37 +0100 |
| commit | c2e458a133772a94009733040b39d58e781af977 (patch) | |
| tree | 9404ef8f4982a068f046cb772166fdb8af7c3a0b /tests | |
| parent | 1d324235bd80fe8d1fb21b1e73ae9e3dfe918078 (diff) | |
Symbol notation
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: |
