Info
This site is generated using the static site generator developed by the Typst Community. Please adjust the text content of this banner according to your usage requirements. At Typst GmbH's request, when publishing documentation, you must clearly indicate that it is non-official and display the version of Typst being documented. For details, refer to Issue #874 on typst/typst.
TypstDocumentEnglish
v0.dev.2025-09-12

Under/Over

Delimiters above or below parts of an equation.

The braces and brackets further allow you to add an optional annotation below or above themselves.

Function

underline
Element
Element
Element functions can be customized with set and show rules.

A horizontal line under content.

math.underline()->
$ underline(1 + 2 + ... + 5) $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content above the line.

overline
Element
Element
Element functions can be customized with set and show rules.

A horizontal line over content.

math.overline()->
$ overline(1 + 2 + ... + 5) $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content below the line.

underbrace
Element
Element
Element functions can be customized with set and show rules.

A horizontal brace under content, with an optional annotation below.

math.underbrace()->
$ underbrace(0 + 1 + dots.c + n, n + 1 "numbers") $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content above the brace.

annotation
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

The optional content below the brace.

Default value:

none

overbrace
Element
Element
Element functions can be customized with set and show rules.

A horizontal brace over content, with an optional annotation above.

math.overbrace()->
$ overbrace(0 + 1 + dots.c + n, n + 1 "numbers") $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content below the brace.

annotation
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

The optional content above the brace.

Default value:

none

underbracket
Element
Element
Element functions can be customized with set and show rules.

A horizontal bracket under content, with an optional annotation below.

math.underbracket()->
$ underbracket(0 + 1 + dots.c + n, n + 1 "numbers") $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content above the bracket.

annotation
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

The optional content below the bracket.

Default value:

none

overbracket
Element
Element
Element functions can be customized with set and show rules.

A horizontal bracket over content, with an optional annotation above.

math.overbracket()->
$ overbracket(0 + 1 + dots.c + n, n + 1 "numbers") $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content below the bracket.

annotation
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

The optional content above the bracket.

Default value:

none

underparen
Element
Element
Element functions can be customized with set and show rules.

A horizontal parenthesis under content, with an optional annotation below.

math.underparen()->
$ underparen(0 + 1 + dots.c + n, n + 1 "numbers") $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content above the parenthesis.

annotation
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

The optional content below the parenthesis.

Default value:

none

overparen
Element
Element
Element functions can be customized with set and show rules.

A horizontal parenthesis over content, with an optional annotation above.

math.overparen()->
$ overparen(0 + 1 + dots.c + n, n + 1 "numbers") $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content below the parenthesis.

annotation
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

The optional content above the parenthesis.

Default value:

none

undershell
Element
Element
Element functions can be customized with set and show rules.

A horizontal tortoise shell bracket under content, with an optional annotation below.

math.undershell()->
$ undershell(0 + 1 + dots.c + n, n + 1 "numbers") $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content above the tortoise shell bracket.

annotation
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

The optional content below the tortoise shell bracket.

Default value:

none

overshell
Element
Element
Element functions can be customized with set and show rules.

A horizontal tortoise shell bracket over content, with an optional annotation above.

math.overshell()->
$ overshell(0 + 1 + dots.c + n, n + 1 "numbers") $
Preview

body
Required
Required
Required parameters must be specified when calling the function.
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.

The content below the tortoise shell bracket.

annotation
Positional
Positional
Positional parameters can be set by specifying them in order, omitting the parameter name.
Settable
Settable
Settable parameters can be set using the set rule, changing the default value used thereafter.

The optional content above the tortoise shell bracket.

Default value:

none

Open official docs

Search