summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/shorthand.typ
blob: c8a1085196d32f3c0f9234995e11a5fe781c8027 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Test shorthands for unicode codepoints.

---
The non-breaking~space does work.

---
// Make sure non-breaking and normal space always
// have the same width. Even if the font decided
// differently.
#set text(font: "New Computer Modern")
a b \
a~b

---
- En dash: --
- Em dash: ---

---
#set text(font: "Roboto")
A... vs #"A..."