| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Typst.Symbols
Synopsis
- data Sym = Sym {
- symName :: Text
- symIsAccent :: Bool
- symDeprecation :: Maybe Text
- symMathClass :: MathClass
- symText :: Text
- data MathClass
- = None
- | Alphabetic
- | Relation
- | Binary
- | Opening
- | Punctuation
- | Fence
- typstSymbols :: [Sym]
- typstEmojis :: [Sym]
- mathSymbolShorthands :: [(Text, Text)]
Documentation
A record for a typst symbol.
Constructors
| Sym | |
Fields
| |
The math-class attribute for a typst symbol.
Constructors
| None | |
| Alphabetic | |
| Relation | |
| Binary | |
| Opening | |
| Punctuation | |
| Fence |
typstSymbols :: [Sym] Source #
A list of triples, each consisting of the symbol name, a Boolean indicating whether the symbol is an accent, and the resolved symbol.
typstEmojis :: [Sym] Source #
A list of triples, each consisting of the emoji name, a Boolean indicating whether the symbol is an accent, and the resolved emoji.
mathSymbolShorthands :: [(Text, Text)] Source #