TypstDocumentation

vec

A column vector.

Content in the vector's elements can be aligned with the & symbol.

Example

$ vec(a, b, c) dot.op vec(1, 2, 3)
    = a + 2b + 3c $
Preview

Parameters
Question mark

elements
contentPositional
Question mark
Variadic
Question mark

The elements of the vector.

delim
stringSettable
Question mark

The delimiter to use.

#set math.vec(delim: "[")
$ vec(1, 2) $
Preview