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

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 dot, Diaeresisdot.double, diaer¨
Triple dotdot.triple
Quadruple dotdot.quad
Circlecircle
Double acuteacute.double˝
Caroncaronˇ
Right arrowarrow, ->
Left arrowarrow.l, <-
Left/Right arrowarrow.l.r
Right harpoonharpoon
Left harpoonharpoon.lt

size
auto or relative
Settable
Question mark

The size of the accent, relative to the width of the base.

Default: auto