This package lets you customize the size of delimiters in your math equations. It is useful when you want to make your equations more readable by increasing the size of certain delimiters. Just like \big
, \Big
, \bigg
, and \Bigg
in LaTeX, delimitizer
provides you with the same functionality in Typst.
big(delimiter)
: Makes the delimiters bigger than the default size.Big(delimiter)
: Makes the delimiters bigger thanbig()
.bigg(delimiter)
: Makes the delimiters bigger thanBig()
.Bigg(delimiter)
: Makes the delimiters bigger thanbigg()
.scaled-delimiter(delimiter, size)
: Scales the delimiters by a factor of your choice.paired-delimiter(left, right)
: Make a short hand for paired delimiters. This function returns a closuref(size = auto: auto | none | big | Big | bigg | Bigg | relative, content: content)
. The keyed argumentsize
is optional and defaults toauto
. The positional argumentcontent
is required.- when
size
isauto
, the size of the delimiters is automatically determined. - when
size
isnone
, the size of the delimiters is1em
. - when
size
isbig
/Big
/bigg
/Bigg
, the size of the delimiters is set tobig
/Big
/bigg
/Bigg
respectively. - when
size
isrelative
length like3em
or150%
, the size of the delimiters is scaled by the factor you provide.
- when
Example:
#let parn = paired-delimiter("(", ")")
$
parn(size: bigg,
parn(size: big, (a+b)times (a-b))
div
parn(size: big, (c+d)times (c-d))
) + d \ = (a^2-b^2) / (c^2-d^2)+d
$