mirror of
https://github.com/typst/typst
synced 2025-05-15 09:35:28 +08:00
18 lines
250 B
Typst
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) $
|