From 4653ffebb43d733a3cff873d0903c7d00aaeb499 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 23 Jan 2023 15:03:10 +0100 Subject: Math module --- tests/typ/math/matrix.typ | 6 +++--- tests/typ/math/style.typ | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/typ/math') 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 { -- cgit v1.2.3