typst/tests/typ/math/accent.typ
2023-02-02 21:21:04 +01:00

27 lines
548 B
XML

// Test math accents.
---
// Test function call.
$grave(a), acute(b), hat(f), tilde(§), macron(ä), diaer(a), ä \
breve(\&), dot(!), circle(a), caron(@), arrow(Z), arrow.l(Z)$
---
// Test `accent` function.
$accent(ö, .), accent(v, <-), accent(ZZ, \u{0303})$
---
// Test accent bounds.
$sqrt(tilde(T)) + hat(f)/hat(g)$
---
// Test wide base.
$arrow("ABC" + d), tilde(sum)$
---
// Test effect of accent on superscript.
$A^x != hat(A)^x != hat(hat(A))^x$
---
// Test high base.
$ tilde(integral), tilde(integral)_a^b, tilde(integral_a^b) $