Typst Fumadocs

Cases

Documentation for the `cases` function.

A case distinction.

Content across different branches can be aligned with the & symbol.

Example

Loading compiler...
#math.cases(
  delim: none | str | array | symbol,
  reverse: bool,
  gap: relative,
  children
) -> content

Parameters

Prop

Type

On this page