texmath-0.12.3.2: Conversion between formats used to represent mathematics.
CopyrightCopyright (C) 2014 Matthew Pickering
LicenseGNU GPL, version 2 or above
MaintainerMatthew Pickering <matthewtpickering@gmail.com>
Stabilityalpha
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.TeXMath.Unicode.Fonts

Description

Utilities to convert between MS font codepoints and unicode characters.

Synopsis

Documentation

getUnicode :: Font -> Char -> Maybe Char Source #

Given a font and codepoint, returns the corresponding unicode character

data Font Source #

Enumeration of recognised fonts

Constructors

Symbol

Adobe Symbol

Instances

Instances details
Eq Font Source # 
Instance details

Defined in Text.TeXMath.Unicode.Fonts

Methods

(==) :: Font -> Font -> Bool #

(/=) :: Font -> Font -> Bool #

Show Font Source # 
Instance details

Defined in Text.TeXMath.Unicode.Fonts

Methods

showsPrec :: Int -> Font -> ShowS #

show :: Font -> String #

showList :: [Font] -> ShowS #

textToFont :: Text -> Maybe Font Source #

Parse font name into Font if possible.