Maintainer | hapytexeu+gh@gmail.com |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe |
Language | Haskell2010 |
Introduction
This module aims to make it more convenient to transform mathematical characters to their double struck, fraktur, calligraphic, etc. equivalent.
Most of the characters are defined in the 1D400–1D7FF
Unicode block Mathematical Alphanumeric Symbols.
See also the Wikipedia page.
Examples
>>>
math Serif Italic Bold 'x'
Just '\119961'>>>
math Serif Italic Bold '3'
Just '\120785'>>>
latinMath Serif Italic Bold 'x'
Just '\119961'>>>
latinMath Serif Italic Bold '3'
Nothing>>>
script NoBold 'S'
Just '\119982'>>>
intToDigitChar SansSerif Bold 3
Just '\120815'>>>
intToDigitChar SansSerif Bold 33
Nothing
Supported ranges of characters
The transformations of this module only supports the following small subset of Unicode points:
- ASCII latin letters
A
–Z
anda
–z
ranges- Greek-like symbols
- The following characters from the Unicode block Greek and Coptic:
ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩϴαβγδεζηθικλμνξοπρςστυφχψωϵϑϰϕϱϖ
. - The following characters from the Unicode block Mathematical Operators:
∇∂
.
- The following characters from the Unicode block Greek and Coptic:
- Digits
0
–9
range
Naming Conventions
The functions with a name finishing with a quote '
(such as math'
) do not check their input:
they transform the characters in the supported range and have an unspecified behaviour outside this range.
The functions without a quote in their name (such as math
) check their input and output and wrap the
resulting transformation with Maybe
.
Synopsis
- math :: FontStyle -> ItalicType -> Emphasis -> Char -> Maybe Char
- math' :: FontStyle -> ItalicType -> Emphasis -> Char -> Char
- latinMath :: FontStyle -> ItalicType -> Emphasis -> Char -> Maybe Char
- mathAlpha :: FontStyle -> ItalicType -> Emphasis -> Char -> Maybe Char
- mathAlpha' :: FontStyle -> ItalicType -> Emphasis -> Char -> Char
- serif :: ItalicType -> Emphasis -> Char -> Maybe Char
- serif' :: ItalicType -> Emphasis -> Char -> Char
- serifNoBold :: ItalicType -> Char -> Maybe Char
- serifNoBold' :: ItalicType -> Char -> Char
- serifBold :: ItalicType -> Char -> Maybe Char
- serifBold' :: ItalicType -> Char -> Char
- serifNoItalic :: Emphasis -> Char -> Maybe Char
- serifNoItalic' :: Emphasis -> Char -> Char
- serifItalic :: Emphasis -> Char -> Maybe Char
- serifItalic' :: Emphasis -> Char -> Char
- serifNoBoldNoItalic :: Char -> Maybe Char
- serifNoBoldNoItalic' :: Char -> Char
- serifBoldNoItalic :: Char -> Maybe Char
- serifBoldNoItalic' :: Char -> Char
- serifNoBoldItalic :: Char -> Maybe Char
- serifNoBoldItalic' :: Char -> Char
- serifBoldItalic :: Char -> Maybe Char
- serifBoldItalic' :: Char -> Char
- sansSerif :: ItalicType -> Emphasis -> Char -> Maybe Char
- sansSerif' :: ItalicType -> Emphasis -> Char -> Char
- sansSerifNoBold :: ItalicType -> Char -> Maybe Char
- sansSerifNoBold' :: ItalicType -> Char -> Char
- sansSerifBold :: ItalicType -> Char -> Maybe Char
- sansSerifBold' :: ItalicType -> Char -> Char
- sansSerifNoItalic :: Emphasis -> Char -> Maybe Char
- sansSerifNoItalic' :: Emphasis -> Char -> Char
- sansSerifItalic :: Emphasis -> Char -> Maybe Char
- sansSerifItalic' :: Emphasis -> Char -> Char
- sansSerifNoBoldNoItalic :: Char -> Maybe Char
- sansSerifNoBoldNoItalic' :: Char -> Char
- sansSerifBoldNoItalic :: Char -> Maybe Char
- sansSerifBoldNoItalic' :: Char -> Char
- sansSerifNoBoldItalic :: Char -> Maybe Char
- sansSerifNoBoldItalic' :: Char -> Char
- sansSerifBoldItalic :: Char -> Maybe Char
- sansSerifBoldItalic' :: Char -> Char
- digit :: FontStyle -> Emphasis -> Char -> Maybe Char
- digit' :: FontStyle -> Emphasis -> Char -> Char
- digitSansSerif :: Emphasis -> Char -> Maybe Char
- digitSansSerif' :: Emphasis -> Char -> Char
- digitSerif :: Emphasis -> Char -> Maybe Char
- digitSerif' :: Emphasis -> Char -> Char
- digitSerifRegular :: Char -> Maybe Char
- digitSerifRegular' :: Char -> Char
- digitSerifBold :: Char -> Maybe Char
- digitSerifBold' :: Char -> Char
- digitSansSerifRegular :: Char -> Maybe Char
- digitSansSerifRegular' :: Char -> Char
- digitSansSerifBold :: Char -> Maybe Char
- digitSansSerifBold' :: Char -> Char
- digitMonospace :: Char -> Maybe Char
- digitMonospace' :: Char -> Char
- digitDoubleStruck :: Char -> Maybe Char
- digitDoubleStruck' :: Char -> Char
- intToDigitChar :: FontStyle -> Emphasis -> Int -> Maybe Char
- intToDigitChar' :: FontStyle -> Emphasis -> Int -> Char
- intToDigitSerif :: Emphasis -> Int -> Maybe Char
- intToDigitSerif' :: Emphasis -> Int -> Char
- intToDigitSansSerif :: Emphasis -> Int -> Maybe Char
- intToDigitSansSerif' :: Emphasis -> Int -> Char
- intToDigitSerifRegular :: Int -> Maybe Char
- intToDigitSerifRegular' :: Int -> Char
- intToDigitSerifBold :: Int -> Maybe Char
- intToDigitSerifBold' :: Int -> Char
- intToDigitMonospace :: Int -> Maybe Char
- intToDigitMonospace' :: Int -> Char
- intToDigitDoubleStruck :: Int -> Maybe Char
- intToDigitDoubleStruck' :: Int -> Char
- monospace :: Char -> Maybe Char
- monospace' :: Char -> Char
- doubleStruck :: Char -> Maybe Char
- doubleStruck' :: Char -> Char
- script :: Emphasis -> Char -> Maybe Char
- script' :: Emphasis -> Char -> Char
- scriptRegular :: Char -> Maybe Char
- scriptRegular' :: Char -> Char
- scriptBold :: Char -> Maybe Char
- scriptBold' :: Char -> Char
- calligraphy :: Emphasis -> Char -> Maybe Char
- calligraphy' :: Emphasis -> Char -> Char
- calligraphyRegular :: Char -> Maybe Char
- calligraphyRegular' :: Char -> Char
- calligraphyBold :: Char -> Maybe Char
- calligraphyBold' :: Char -> Char
- fraktur :: Emphasis -> Char -> Maybe Char
- fraktur' :: Emphasis -> Char -> Char
- frakturRegular :: Char -> Maybe Char
- frakturRegular' :: Char -> Char
- frakturBold :: Char -> Maybe Char
- frakturBold' :: Char -> Char
Serif/sans-serif mathematical symbols
:: FontStyle | The given |
-> ItalicType | The given |
-> Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with the given font
style, in the given emphasis and in the given italics type wrapped in a Just
if the character is supported (see: supported ranges)
If the character is outside theses ranges, Nothing
is returned.
:: FontStyle | The given |
-> ItalicType | The given |
-> Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted in the given |
Convert the given character to a mathematical symbol with the given font style, with a given emphasis and a given italics style. This maps characters an equivalent sans-serif symbol for characters in the supported ranges. For characters outside the range, the behavior is unspecified.
Latin-only characters
:: FontStyle | The given |
-> ItalicType | The given |
-> Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted in the given |
Deprecated: Use math
`
Convert the given character to a mathematical symbol with the given font style, with a
given emphasis and a given italics style. This maps characters an equivalent sansSerif symbol for the A
–Z
and
a
–z
range. For characters outside the range, the behavior is unspecified.
Serif mathematical symbols
:: ItalicType | The given |
-> Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, in the
given emphasis and in the given italics type wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: ItalicType | The given |
-> Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, depending on the given |
Convert the given character to a mathematical symbol with serifs, with a given emphasis and a given italics style. This maps characters an equivalent serif symbol for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
:: ItalicType | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with serifs, with no bold
and in the given italics type wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: ItalicType | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, not in bold and depending on the given |
Convert the given character to a mathematical symbol with serifs, not in bold and in a italics type. This maps characters an equivalent serif symbol for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
:: ItalicType | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with serifs, in bold
with the given italics type wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: ItalicType | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, in bold and depending on the given |
Convert the given character to a mathematical symbol with serifs, in bold and in a italics type. This maps characters an equivalent serif symbol for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with serifs, in the
given emphasis and not in italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, depending on the given |
Convert the given character to a mathematical symbol with serifs, with a given emphasis and not in italics. This maps characters an equivalent serif symbol for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with serifs, in the
given emphasis and in italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, depending on the given |
Convert the given character to a mathematical symbol with serifs, with a given emphasis and in italics. This maps characters an equivalent serif symbol for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
:: Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with serifs, with no
bold, and no italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, not in bold and not in italics. |
Convert the given character to a mathematical symbol with serifs, with no bold and no italics. This maps characters to itself for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
:: Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with serifs, in
bold, and no italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, in bold and not in italics. |
Convert the given character to a mathematical symbol with serifs, in bold not in italics. This maps characters an equivalent serif symbol for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
:: Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with serifs, with no
bold, and in italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, not in bold and in italics. |
Convert the given character to a mathematical symbol with serifs, with no bold and in italics. This maps characters an equivalent serif symbol for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
:: Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol with serifs, in
bold, and in italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted with serifs, in bold and in italics. |
Convert the given character to a mathematical symbol with serifs, with in bold and in italics. This maps characters an equivalent serif symbol for supported characters (see: Data.Char.Math). For characters outside the range, the behavior is unspecified.
Sans-serif mathematical symbols
:: ItalicType | The given |
-> Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, in the
given emphasis and in the given italics type wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: ItalicType | The given |
-> Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, depending on the given |
Convert the given character to a mathematical symbol without serifs, with a given emphasis and a given italics style. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
:: ItalicType | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, with no bold
and in the given italics type wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: ItalicType | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, not in bold and depending on the given |
Convert the given character to a mathematical symbol without serifs, not in bold and in a italics type. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
:: ItalicType | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, in bold
with the given italics type wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: ItalicType | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, in bold and depending on the given |
Convert the given character to a mathematical symbol without serifs, in bold and in a italics type. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, in the
given emphasis and not in italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, depending on the given |
Convert the given character to a mathematical symbol without serifs, with a given emphasis and not in italics. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, in the
given emphasis and in italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, depending on the given |
Convert the given character to a mathematical symbol without serifs, with a given emphasis and in italics. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
sansSerifNoBoldNoItalic Source #
:: Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, with no
bold, and no italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
sansSerifNoBoldNoItalic' Source #
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, not in bold and not in italics. |
Convert the given character to a mathematical symbol without serifs, with no bold and no italics. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
sansSerifBoldNoItalic Source #
:: Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, in
bold, and no italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
sansSerifBoldNoItalic' Source #
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, in bold and not in italics. |
Convert the given character to a mathematical symbol without serifs, in bold not in italics. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
sansSerifNoBoldItalic Source #
:: Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, with no
bold, and in italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
sansSerifNoBoldItalic' Source #
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, not in bold and in italics. |
Convert the given character to a mathematical symbol without serifs, with no bold and in italics. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
:: Char | The given character to convert. |
-> Maybe Char | The equivalent character wrapped in a |
Convert the given character to a mathematical symbol without serifs, in
bold, and in italics wrapped in a Just
.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted without serifs, in bold and in italics. |
Convert the given character to a mathematical symbol without serifs, with in bold and in italics. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
Digit characters
Char-based conversion
:: FontStyle | The given font style. |
-> Emphasis | The given emphasis style. |
-> Char | The given character to convert. |
-> Char | The corresponding symbol in the given font style for the given emphasis style, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
with a given Emphasis
in the given font style. The result for characters outside this
range is unspecified.
:: Emphasis | The given emphasis style. |
-> Char | The given character to convert. |
-> Char | The corresponding symbol in sans-serifs for the given emphasis style, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
with a given Emphasis
in sans-serif style. The result for characters outside this
range is unspecified.
:: Emphasis | The given emphasis style. |
-> Char | The given character to convert. |
-> Char | The corresponding symbol in serifs for the given emphasis style, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
with a given Emphasis
in serif style. The result for characters outside this
range is unspecified.
:: Char | The given character to convert. |
-> Char | The corresponding symbol in serifs not in bold, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
in a non-bold serif style. The result for characters outside this range is
unspecified.
:: Char | The given character to convert. |
-> Char | The corresponding symbol in serifs in bold, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
in a bold serif style. The result for characters outside this range is
unspecified.
digitSansSerifRegular' Source #
:: Char | The given character to convert. |
-> Char | The corresponding symbol in sans-serifs not in bold, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
in a non-bold sans-serif style. The result for characters outside this range is
unspecified.
:: Char | The given character to convert. |
-> Char | The corresponding symbol in sans-serifs in bold, unspecified outside the the range. |
Convert the given digit character (0
–9
) to its corresponding character
in a bold sans-serif style. The result for characters outside this range is
unspecified.
:: Char | The given digit character to convert. |
-> Char | The corresponding character in monspace style. Unspecified outside the digit range. |
Converts the given digit (0
–9
) charcters to its equivalent in
monospace style. Unspecified result for characters outside the range.
:: Char | The given digit character to convert. |
-> Char | The corresponding character in double-struck style. Unspecified outside the digit range. |
Converts the given digit (0
–9
) charcters to its equivalent in
double-struck style. Unspecified result for characters outside the range.
Int to digit characters
:: Emphasis | The given emphasis style. |
-> Int | The given number to convert. |
-> Char | The corresponding symbol in serifs in the given emphasis style, unspecified outside the the range. |
Convert the given number (0
–9
) to its corresponding character
with a given Emphasis
in serif style. The result for numbers outside this
range is unspecified.
:: Emphasis | The given emphasis style. |
-> Int | The given number to convert. |
-> Char | The corresponding symbol in sans-serifs in the given emphasis style, unspecified outside the the range. |
Convert the given number (0
–9
) to its corresponding character
with a given Emphasis
in sans-serif style. The result for numbers outside this
range is unspecified.
intToDigitSerifRegular' Source #
:: Int | The given number to convert. |
-> Char | The corresponding symbol in serifs not in bold, unspecified outside the the range. |
Convert the given number (0
–9
) to its corresponding character
in a non-bold serif style. The result for numbers outside this range is
unspecified.
:: Int | The given number to convert. |
-> Char | The corresponding symbol in serifs in bold, unspecified outside the the range. |
Convert the given number (0
–9
) to its corresponding character
in a bold serif style. The result for numbers outside this range is
unspecified.
:: Int | The given number to convert. |
-> Char | The corresponding character in monspace style. Unspecified outside the digit range. |
Convert the given number (0
–9
) to its corresponding character in
monospace style. Unspecified result for numbers outside this range.
intToDigitDoubleStruck' Source #
:: Int | The given number to convert. |
-> Char | The corresponding character in double-struck style. Unspecified outside the digit range. |
Convert the given number (0
–9
) to its corresponding character in
double-struck style. Unspecified result for numbers outside this range.
Monospace symbols
:: Char | The given character to convert to a monospace symbol. |
-> Char | The equivalent monospace symbol for the given character. |
Convert the given character to its monospace equivalent for the alphabet
and numerical range (A
–Z
, a
–z
, and 0
–9
). For characters outside
the range, the result is unspecified.
Double struck symbols
:: Char | The character to convert to a double struck symbol. |
-> Char | The double struck symbol for the given character. If the character is not an ASCII alphanumerical character, the result is unspecified. |
Obtain the double struck symbol for the given character. The supported
range of characters are the alphabet character (A
–Z
, and a
–z
), and
the numerical characters (0
–9
). For characters other than these, the
behaviour is unspecified.
Script (or calligraphic symbols)
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The calligraphy symbol for the given character wrapped
in a |
Convert the given character to its script or calligraphic symbol
wrapped in a Just
data constructor. This symbol is not written in
the given Emphasis
style.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted in calligraphy, and depending on the |
Convert the given character to its script or calligraphic symbol. This
symbol is written in the given Emphasis
style.
If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
:: Char | The given character to convert. |
-> Maybe Char | The calligraphy symbol for the given character wrapped
in a |
Convert the given character to its script or calligraphic symbol
wrapped in a Just
data constructor. This symbol is not written in
boldface.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted in calligraphy, not in bold. |
Convert the given character to its script or calligraphic symbol. This symbol is not written in boldface. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
:: Char | The given character to convert. |
-> Maybe Char | The calligraphy symbol for the given character wrapped
in a |
Convert the given character to its script or calligraphic symbol
wrapped in a Just
data constructor. This symbol is written in
boldface.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted in calligraphy, and in bold. |
Convert the given character to its script or calligraphic symbol. This symbol is written in boldface. If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Maybe Char | The calligraphy symbol for the given character wrapped
in a |
Convert the given character to its script or calligraphic symbol
wrapped in a Just
data constructor. This symbol is not written in
the given Emphasis
style.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
This is an alias of script
.
:: Emphasis | The given |
-> Char | The given character to convert. |
-> Char | The equivalent character that is formatted in calligraphy, and depending on the |
Convert the given character to its script or calligraphic symbol. This
symbol is written in the given Emphasis
style.
If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
This is an alias of script'
.
:: Char | The given character to convert. |
-> Maybe Char | The calligraphy symbol for the given character wrapped
in a |
Convert the given character to its script or calligraphic symbol
wrapped in a Just
data constructor. This symbol is not written in
boldface.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
This is an alias of scriptRegular
.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted in calligraphy, not in bold. |
Convert the given character to its script or calligraphic symbol. This
symbol is not written in boldface.
If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
This is an alias of scriptRegular'
.
:: Char | The given character to convert. |
-> Maybe Char | The calligraphy symbol for the given character wrapped
in a |
Convert the given character to its script or calligraphic symbol
wrapped in a Just
data constructor. This symbol is written in boldface.
If the character is not supported (see: Data.Char.Math), Nothing
is returned.
This is an alias of scriptBold
.
:: Char | The given character to convert. |
-> Char | The equivalent character that is formatted in calligraphy, and in bold. |
Convert the given character to its script or calligraphic symbol. This
symbol is written in boldface.
If the symbol is not supported (see: Data.Char.Math), the returned character is unspecified.
This is an alias of scriptBold'
.
Fraktur symbols
:: Emphasis | The given emphasis style to use. |
-> Char | The character to convert to a fraktur symbol in the given emphasis style. |
-> Char | The equivalent fraktur charater for the given character. |
Obtain the fraktur symbol for the given character in the given emphasis
style. The supported range of characters are the alphabet characters
(A
–Z
, and a
–z
). In case the character is not in this range, it is
unspecified what will be returned.
:: Char | The character to convert to a regular fraktur symbol. |
-> Char | The equivalent fraktur charater for the given character. |
Obtain the fraktur symbol for the given character in a regular (not bold)
style. The supported range of characters are the alphabet characters
(A
–Z
, and a
–z
). In case the character is not in this range, it is
unspecified what will be returned.
:: Char | The character to convert to a bold fraktur symbol. |
-> Char | The equivalent fraktur charater for the given character. |
Obtain the fraktur symbol for the given character in a bold
style. The supported range of characters are the alphabet characters
(A
–Z
, and a
–z
). In case the character is not in this range, it is
unspecified what will be returned.