texmath-0.11.2.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
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
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 #

stringToFont :: String -> Maybe Font Source #

Parse font name into Font if possible.