summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-27 12:04:23 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-27 12:04:36 +0100
commit1de53730bce0bd3f9de89db1da7c19b7889b9a75 (patch)
treee2746f4853a5a8e99f32e8c52d6e4b4f411c1933 /tests/typ/text
parent13efa128c855637a7fe3351a4579383359d1be1b (diff)
Symbol values and modules
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/symbol.typ31
1 files changed, 11 insertions, 20 deletions
diff --git a/tests/typ/text/symbol.typ b/tests/typ/text/symbol.typ
index f758c779..3b7028e9 100644
--- a/tests/typ/text/symbol.typ
+++ b/tests/typ/text/symbol.typ
@@ -1,27 +1,18 @@
-// Test symbol notation.
+// Test symbols.
---
-:face:
-:face:unknown:
-:woman:old:
-:turtle:
+#emoji.face
+#emoji.woman.old
+#emoji.turtle
#set text("New Computer Modern Math")
-:arrow:
-:arrow:l:
-:arrow:r:squiggly:
-#symbol(("arrow", "tr", "hook").join(":"))
+#sym.arrow
+#sym.arrow.l
+#sym.arrow.r.squiggly
+#sym.arrow.tr.hook
----
-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.
+#sym.arrow.r;this and this#sym.arrow.l;
---
-// Error: 1-14 unknown symbol
-:nonexisting:
+// Error: 13-20 unknown modifier
+#emoji.face.garbage