accentElementElementElement functions can be customized with set and show rules.
Element
Element functions can be customized with
set and show rules.Attaches an accent to a base.
Example
$grave(a) = accent(a, `)$ \
$arrow(a) = accent(a, arrow)$ \
$tilde(a) = accent(a, \u{0303})$

ParameterParameterParameters are input values for functions. Specify them in parentheses after the function name.
Parameter
Parameters are input values for functions. Specify them in parentheses after the function name.
baseRequiredRequiredRequired parameters must be specified when calling the function.PositionalPositionalPositional parameters can be set by specifying them in order, omitting the parameter name.
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 base to which the accent is applied. May consist of multiple letters.
Show example
$arrow(A B C)$

accent
The accent to apply to the base.
Supported accents include:
| Accent | Name | Codepoint |
|---|---|---|
| Grave | grave | ` |
| Acute | acute | ´ |
| Circumflex | hat | ^ |
| Tilde | tilde | ~ |
| Macron | macron | ¯ |
| Dash | dash | ‾ |
| Breve | breve | ˘ |
| Dot | dot | . |
| Double dot, Diaeresis | dot.double, diaer | ¨ |
| Triple dot | dot.triple | ⃛ |
| Quadruple dot | dot.quad | ⃜ |
| Circle | circle | ∘ |
| Double acute | acute.double | ˝ |
| Caron | caron | ˇ |
| Right arrow | arrow, -> | → |
| Left arrow | arrow.l, <- | ← |
| Left/Right arrow | arrow.l.r | ↔ |
| Right harpoon | harpoon | ⇀ |
| Left harpoon | harpoon.lt | ↼ |
sizeSettableSettableSettable parameters can be set using the set rule, changing the default value used thereafter.
Settable
Settable
Settable parameters can be set using the
set rule, changing the default value used thereafter.The size of the accent, relative to the width of the base.
Show example
$dash(A, size: #150%)$

Default value: 100% + 0pt
dotlessSettableSettableSettable parameters can be set using the set rule, changing the default value used thereafter.
Settable
Settable
Settable parameters can be set using the
set rule, changing the default value used thereafter.Whether to remove the dot on top of lowercase i and j when adding a top accent.
This enables the dtls OpenType feature.
Show example
$hat(dotless: #false, i)$

Default value: true