texmath-0.12.5.3: Conversion between math formats.
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
Show Font Source # 
Instance details

Defined in Text.TeXMath.Unicode.Fonts

Methods

showsPrec :: Int -> Font -> ShowS #

show :: Font -> String #

showList :: [Font] -> ShowS #

Eq Font Source # 
Instance details

Defined in Text.TeXMath.Unicode.Fonts

Methods

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

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

textToFont :: Text -> Maybe Font Source #

Parse font name into Font if possible.