typst/tests/typ/math/matrix-gaps.typ

18 lines
250 B
Plaintext

// 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) $