TypstDocumentation

accent

Attach 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

accent()

base
contentRequiredPositional
Question mark

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

$arrow(A B C)$
Preview

accent
stringRequiredPositional
Question mark

The accent to apply to the base.

Supported accents include:

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