mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
21 lines
320 B
Typst
21 lines
320 B
Typst
// 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("Latin Modern Roman")
|
|
a b \
|
|
a~b
|
|
|
|
---
|
|
- En dash: --
|
|
- Em dash: ---
|
|
|
|
---
|
|
#set text("Roboto")
|
|
A... vs {"A..."}
|