diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-23 15:03:10 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-23 15:23:52 +0100 |
| commit | 4653ffebb43d733a3cff873d0903c7d00aaeb499 (patch) | |
| tree | 6a97b2e6a6903b3198547d6f3d0a7e3d2eb023cd /tests/typ/math | |
| parent | 84c6c8b0e6b17996a603ec88b7490107154f38f3 (diff) | |
Math module
Diffstat (limited to 'tests/typ/math')
| -rw-r--r-- | tests/typ/math/matrix.typ | 6 | ||||
| -rw-r--r-- | tests/typ/math/style.typ | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/math/matrix.typ b/tests/typ/math/matrix.typ index 3d67800d..aa99bb1b 100644 --- a/tests/typ/math/matrix.typ +++ b/tests/typ/math/matrix.typ @@ -7,7 +7,7 @@ $ v = vec(1, 2+3, 4) $ $ binom(n, 1) = 1/2 n (n-1) $ --- -#set vec(delim: "|") +#set math.vec(delim: "|") $ vec(1, 2) $ --- @@ -19,8 +19,8 @@ $ f(x, y) := cases( ) $ --- -// Error: 17-20 expected "(", "[", "{", or "|" -#set vec(delim: "%") +// Error: 22-25 expected "(", "[", "{", "|", or "||" +#set math.vec(delim: "%") --- // Error: 9-12 missing argument: lower index diff --git a/tests/typ/math/style.typ b/tests/typ/math/style.typ index e249a45a..a8b9c7a5 100644 --- a/tests/typ/math/style.typ +++ b/tests/typ/math/style.typ @@ -1,6 +1,6 @@ #let part = $ a b A B $ -#let kinds = (serif, sans, cal, frak, mono, bb) -#let modifiers = (v => v, italic, bold, v => italic(bold(v))) +#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]) #for k in kinds { |
