typst-symbols
Safe HaskellSafe-Inferred
LanguageHaskell2010

Typst.Symbols

Synopsis

Documentation

data Sym Source #

A record for a typst symbol.

Constructors

Sym 

Fields

Instances

Instances details
Show Sym Source # 
Instance details

Defined in Typst.Symbols

Methods

showsPrec :: Int -> Sym -> ShowS

show :: Sym -> String

showList :: [Sym] -> ShowS

data MathClass Source #

The math-class attribute for a typst symbol.

Instances

Instances details
Read MathClass Source # 
Instance details

Defined in Typst.Symbols

Methods

readsPrec :: Int -> ReadS MathClass

readList :: ReadS [MathClass]

readPrec :: ReadPrec MathClass

readListPrec :: ReadPrec [MathClass]

Show MathClass Source # 
Instance details

Defined in Typst.Symbols

Methods

showsPrec :: Int -> MathClass -> ShowS

show :: MathClass -> String

showList :: [MathClass] -> ShowS

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 #