typst/tests/typ/math/matrix-gaps.typ
2023-09-21 10:26:47 +02:00

18 lines
250 B
Typst

// Test matrices, cases and vec gaps
---
#set math.mat(row-gap: 1em, column-gap: 2em)
$ mat(1, 2; 3, 4) $
---
#set math.mat(gap: 1em)
$ mat(1, 2; 3, 4) $
---
#set math.cases(gap: 1em)
$ x = cases(1, 2) $
---
#set math.vec(gap: 1em)
$ vec(1, 2) $