summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-08-22 13:33:10 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2023-08-22 13:33:10 -0700
commitca9855b568b490b4fdcc4d54556632cd96b7e438 (patch)
tree7beefbcaa70623ee751cb908726fb06f0976922f /test
parent40accba747a8bbcf82260bb60316ded731233492 (diff)
Use lastest texmath, typst-symbols, typst.
Targets typst 0.7.
Diffstat (limited to 'test')
-rw-r--r--test/typst-reader.native20
-rw-r--r--test/undergradmath.typ10
2 files changed, 15 insertions, 15 deletions
diff --git a/test/typst-reader.native b/test/typst-reader.native
index 2f037fa7b..53aa4eda7 100644
--- a/test/typst-reader.native
+++ b/test/typst-reader.native
@@ -1926,7 +1926,7 @@ Pandoc
[ Para
[ Span
( "" , [ "box" ] , [] )
- [ Math InlineMath "\\Sigma^{*}"
+ [ Math InlineMath "\\Sigma^{\\ast}"
, Str "\8192"
, Code ( "" , [] , [] ) "Sigma^*"
]
@@ -2909,7 +2909,7 @@ Pandoc
[ Para
[ Span
( "" , [ "box" ] , [] )
- [ Math InlineMath "< <"
+ [ Math InlineMath "\\ll"
, Str "\8192"
, Code ( "" , [] , [] ) "<<"
, Str ","
@@ -2928,7 +2928,7 @@ Pandoc
( "" , [ "box" ] , [] )
[ Math InlineMath "\\cong"
, Str "\8192"
- , Code ( "" , [] , [] ) "tilde.eqq"
+ , Code ( "" , [] , [] ) "tilde.equiv"
]
]
]
@@ -2940,7 +2940,7 @@ Pandoc
[ Para
[ Span
( "" , [ "box" ] , [] )
- [ Math InlineMath "*"
+ [ Math InlineMath "\\ast"
, Str "\8192"
, Code ( "" , [] , [] ) "*"
, Str ","
@@ -2960,7 +2960,7 @@ Pandoc
[ Para
[ Span
( "" , [ "box" ] , [] )
- [ Math InlineMath "> >"
+ [ Math InlineMath "\\gg"
, Str "\8192"
, Code ( "" , [] , [] ) ">>"
, Str ","
@@ -2980,7 +2980,7 @@ Pandoc
[ Math InlineMath "\\ncong"
, Str "\8192"
, Code
- ( "" , [] , [] ) "tilde.eqq.not"
+ ( "" , [] , [] ) "tilde.equiv.not"
]
]
]
@@ -3106,7 +3106,7 @@ Pandoc
( "" , [ "box" ] , [] )
[ Math InlineMath "\\equiv"
, Str "\8192"
- , Code ( "" , [] , [] ) "ident"
+ , Code ( "" , [] , [] ) "equiv"
]
]
]
@@ -3519,7 +3519,7 @@ Pandoc
[ Para
[ Span
( "" , [ "box" ] , [] )
- [ Math InlineMath "| \\rightarrow"
+ [ Math InlineMath "\\mapsto"
, Str "\8192"
, Code ( "" , [] , [] ) "|->"
, Str ","
@@ -3624,7 +3624,7 @@ Pandoc
[ Para
[ Span
( "" , [ "box" ] , [] )
- [ Math InlineMath "\\leftarrow >"
+ [ Math InlineMath "\\leftrightarrow"
, Str "\8192"
, Code ( "" , [] , [] ) "<->"
, Str ","
@@ -5130,7 +5130,7 @@ Pandoc
, Space
, Str "from"
, Space
- , Code ( "" , [] , [] ) "ident"
+ , Code ( "" , [] , [] ) "equiv"
, Space
, Str "and"
, Space
diff --git a/test/undergradmath.typ b/test/undergradmath.typ
index 388e12723..1910d31b0 100644
--- a/test/undergradmath.typ
+++ b/test/undergradmath.typ
@@ -253,11 +253,11 @@ Just type them!
cell($>$, [`>`, `gt`]), cell($ell$, `ell`), cell($minus.plus$, `minus.plus`),
cell($>=$, [`>=`, `gt.eq`]), cell($parallel$, `parallel`), cell($times$, `times`),
cell($!=$, [`!=`, `eq.not`]), cell($45 degree$, `45 degree`), cell($div$, `div`),
- cell($<<$, [`<<`, `lt.double`]), cell($tilde.eqq$, `tilde.eqq`), cell($*$, [`*`, `ast`]),
- cell($>>$, [`>>`, `gt.double`]), cell($tilde.eqq.not$, `tilde.eqq.not`), cell($divides$, `divides`),
+ cell($<<$, [`<<`, `lt.double`]), cell($tilde.equiv$, `tilde.equiv`), cell($*$, [`*`, `ast`]),
+ cell($>>$, [`>>`, `gt.double`]), cell($tilde.equiv.not$, `tilde.equiv.not`), cell($divides$, `divides`),
cell($approx$, `approx`), cell($tilde$, `tilde`), cell($divides.not$, `divides.not`),
cell($\u{224D}$, [`\u{224D}` @tricky]), cell($tilde.eq$, `tilde.eq`), cell($n!$, `n!`),
- cell($ident$, `ident`), cell($tilde.not$, `tilde.not`), cell($diff$, `diff`),
+ cell($equiv$, `equiv`), cell($tilde.not$, `tilde.not`), cell($diff$, `diff`),
cell($prec$, `prec`), cell($plus.circle$, `plus.circle`), cell($nabla$, `nabla`),
cell($prec.eq$, `prec.eq`), cell($minus.circle$, `minus.cirle`), cell($planck.reduce$, `planck.reduce`),
cell($succ$, `succ`), cell($dot.circle$, `dot.circle`), cell($circle.stroked.tiny$, `circle.stroked.tiny`),
@@ -464,7 +464,7 @@ The last three here are display style.
))
= Discrete mathematics examples
-For modulo, there is a symbol $ident$ from `ident` and a text operator $mod$ from `mod`.
+For modulo, there is a symbol $equiv$ from `equiv` and a text operator $mod$ from `mod`.
For combinations the binomial symbol $binom(n, k)$ is from `binom(n, k)`.
This resizes to be bigger in a display.
@@ -507,4 +507,4 @@ See also the Typst Documentation at #link("https://typst.app/docs").
#block(
line(length: 100%, stroke: headcolor) +
text(headcolor)[johanvx (https://github.com/johanvx) #h(1fr) #date]
-)
+) \ No newline at end of file