Safe Haskell | None |
---|---|
Language | Haskell2010 |
Text.TeXMath.Unicode.ToUnicode
Description
Function for replacing strings of characters with their respective mathvariant and vice versa.
Synopsis
- fromUnicodeChar :: Char -> Maybe (TextType, Char)
- toUnicodeChar :: (TextType, Char) -> Maybe Char
- fromUnicode :: TextType -> Text -> Text
- toUnicode :: TextType -> Text -> Text
Documentation
fromUnicodeChar :: Char -> Maybe (TextType, Char) #
The inverse of toUnicodeChar
: returns the corresponding
unstyled character and TextType
of a unicode character.
toUnicodeChar :: (TextType, Char) -> Maybe Char #
fromUnicode :: TextType -> Text -> Text #
Inverse of toUnicode
.