TypstDocumentation

accentElement
Question mark

Attaches an accent to a base.

Example

$grave(a) = accent(a, `)$ \
$arrow(a) = accent(a, arrow)$ \
$tilde(a) = accent(a, \u{0303})$
Preview

Parameters
Question mark

math.accent() -> content

base
content
RequiredPositional
Question mark

The base to which the accent is applied. May consist of multiple letters.

View example
$arrow(A B C)$
Preview

accent
str or content
RequiredPositional
Question mark

The accent to apply to the base.

Supported accents include:

AccentNameCodepoint
Gravegrave`
Acuteacute´
Circumflexhat^
Tildetilde~
Macronmacron¯
Brevebreve˘
Dotdot.
Double dotdot.double¨
Triple dotdot.triple
Quadruple dotdot.quad
Diaeresisdiaer¨
Circlecircle
Double acuteacute.double˝
Caroncaronˇ
Right arrowarrow, ->
Left arrowarrow.l, <-