summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/math/accents.pngbin3077 -> 3126 bytes
-rw-r--r--tests/ref/text/symbol.pngbin14112 -> 4436 bytes
-rw-r--r--tests/typ/math/accents.typ2
-rw-r--r--tests/typ/math/style.typ2
-rw-r--r--tests/typ/math/syntax.typ2
-rw-r--r--tests/typ/text/symbol.typ31
6 files changed, 14 insertions, 23 deletions
diff --git a/tests/ref/math/accents.png b/tests/ref/math/accents.png
index 7e93d9b5..dba9fb45 100644
--- a/tests/ref/math/accents.png
+++ b/tests/ref/math/accents.png
Binary files differ
diff --git a/tests/ref/text/symbol.png b/tests/ref/text/symbol.png
index 4806683b..f964d931 100644
--- a/tests/ref/text/symbol.png
+++ b/tests/ref/text/symbol.png
Binary files differ
diff --git a/tests/typ/math/accents.typ b/tests/typ/math/accents.typ
index 96d055e9..0cd0b16e 100644
--- a/tests/typ/math/accents.typ
+++ b/tests/typ/math/accents.typ
@@ -23,6 +23,6 @@ $ accent(a, grave),
accent(a, overline),
accent(a, breve),
accent(a, dot),
- accent(a, dia),
+ accent(a, diaer),
accent(a, caron),
accent(a, arrow) $
diff --git a/tests/typ/math/style.typ b/tests/typ/math/style.typ
index 5089610b..4a4cfe16 100644
--- a/tests/typ/math/style.typ
+++ b/tests/typ/math/style.typ
@@ -2,7 +2,7 @@
#let kinds = (math.serif, math.sans, math.cal, math.frak, math.mono, math.bb)
#let modifiers = (v => v, math.italic, math.bold, v => math.italic(math.bold(v)))
-#let cells = ([:triangle:nested:], [--], [`italic`], [`bold`], [both])
+#let cells = (sym.triangle.nested, [--], [`italic`], [`bold`], [both])
#for kk in kinds {
cells.push(raw(repr(kk).trim("<function ").trim(">")))
for mm in modifiers {
diff --git a/tests/typ/math/syntax.typ b/tests/typ/math/syntax.typ
index 186082aa..f18f7edf 100644
--- a/tests/typ/math/syntax.typ
+++ b/tests/typ/math/syntax.typ
@@ -19,6 +19,6 @@ $ sqrt(x^2) = frac(x, 1) $
$ "profit" = "income" - "expenses" $
$ x < #for i in range(5) [$ #i < $] y $
$ 1 + 2 = #{1 + 2} $
-$ A sub:eq:not B $
+$ A subset.eq.not B $
```
<table>
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