diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-22 13:48:49 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-22 13:48:49 +0100 |
| commit | 87a89e77e59b764b947e88490384c1c524eae157 (patch) | |
| tree | db130affccce8c449a5234ccec45a22b87720fa2 /tests | |
| parent | 7e295d84b55322e84695e793af8d64b6ec89e357 (diff) | |
Some fixes
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math/style.png | bin | 15288 -> 15257 bytes | |||
| -rw-r--r-- | tests/typ/math/accents.typ | 44 | ||||
| -rw-r--r-- | tests/typ/math/style.typ | 4 | ||||
| -rw-r--r-- | tests/typ/math/syntax.typ | 4 |
4 files changed, 24 insertions, 28 deletions
diff --git a/tests/ref/math/style.png b/tests/ref/math/style.png Binary files differindex 8dc11b31..839743bd 100644 --- a/tests/ref/math/style.png +++ b/tests/ref/math/style.png diff --git a/tests/typ/math/accents.typ b/tests/typ/math/accents.typ index 04e6e723..96d055e9 100644 --- a/tests/typ/math/accents.typ +++ b/tests/typ/math/accents.typ @@ -3,26 +3,26 @@ --- #set page(width: auto) -$ acc(a,`), - acc(a,´), - acc(a,\^), - acc(a,~), - acc(a,¯), - acc(a,‾), - acc(a,˘), - acc(a,.), - acc(a,¨), - acc(a,ˇ), - acc(a,->) $ +$ accent(a,`), + accent(a,´), + accent(a,\^), + accent(a,~), + accent(a,¯), + accent(a,‾), + accent(a,˘), + accent(a,.), + accent(a,¨), + accent(a,ˇ), + accent(a,->) $ -$ acc(a, grave), - acc(a, acute), - acc(a, circum), - acc(a, tilde), - acc(a, macron), - acc(a, overline), - acc(a, breve), - acc(a, dot), - acc(a, dia), - acc(a, caron), - acc(a, arrow) $ +$ accent(a, grave), + accent(a, acute), + accent(a, circum), + accent(a, tilde), + accent(a, macron), + accent(a, overline), + accent(a, breve), + accent(a, dot), + accent(a, dia), + accent(a, caron), + accent(a, arrow) $ diff --git a/tests/typ/math/style.typ b/tests/typ/math/style.typ index 8df216ef..e249a45a 100644 --- a/tests/typ/math/style.typ +++ b/tests/typ/math/style.typ @@ -1,8 +1,8 @@ #let part = $ a b A B $ #let kinds = (serif, sans, cal, frak, mono, bb) -#let modifiers = (v => v, ital, bold, v => ital(bold(v))) +#let modifiers = (v => v, italic, bold, v => italic(bold(v))) -#let cells = ([:triangle:nested:], [--], [`ital`], [`bold`], [both]) +#let cells = ([:triangle:nested:], [--], [`italic`], [`bold`], [both]) #for k in kinds { cells.push(raw(repr(k).trim("<function ").trim(">"))) for m in modifiers { diff --git a/tests/typ/math/syntax.typ b/tests/typ/math/syntax.typ index 37ea2de7..186082aa 100644 --- a/tests/typ/math/syntax.typ +++ b/tests/typ/math/syntax.typ @@ -22,7 +22,3 @@ $ 1 + 2 = #{1 + 2} $ $ A sub:eq:not B $ ``` <table> - ---- -// Error: 8 expected math atom -$ sum_( $ |
