This site is supported by donations to The OEIS Foundation.
Template:Mathfrak
[โงผPurgeโงฝ Template:Mathfrak]
The {{mathfrak}} mathematical alphanumeric symbols template is intended to simulate a Fraktur font for use in mathematical formulas using standard HTML+CSS. This template may also be used to get \mathfrak{...} in LaTeX markup (see Help:Displaying a formula).
The template attempts to use any Fraktur font that may be installed on several operating systems, either as default or as part of an office package. The fonts called are: Breitkopf Fraktur, UnifrakturCook, and UniFrakturMaguntia. (Currently, since we can't rely on those fonts being installed, the template resorts to using Unicode code points.)
Usage
- {{mathfrak|text}}
or
- {{mathfrak|text|format}}
where text is (only yields a Fraktur typeface for uppercase or lowercase Latin characters!) (only a single lowercase or uppercase Latin character is currently supported with the HTML+CSS option!)
- a string of: lowercase or uppercase Latin characters;
and format is among
- htm: to get HTML+CSS (default),
- tex: to get LaTeX code.
Use of equals sign
To get an equals sign, you must use the {{=}} template.
Tests
The code
- {{mathfrak|ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789}}
yields
- Mathfrak error: Only a single lowercase/uppercase Latin character is currently supported with the HTML+CSS option.
The code
: {{math|<!-- -->{{mathfrak|A}}{{mathfrak|B}}{{mathfrak|C}}{{mathfrak|D}}{{mathfrak|E}}{{mathfrak|F}}{{mathfrak|G}}{{mathfrak|H}}<!-- -->{{mathfrak|I}}{{mathfrak|J}}{{mathfrak|K}}{{mathfrak|L}}{{mathfrak|M}}{{mathfrak|N}}{{mathfrak|O}}{{mathfrak|P}}<!-- -->{{mathfrak|Q}}{{mathfrak|R}}{{mathfrak|S}}{{mathfrak|T}}{{mathfrak|U}}{{mathfrak|V}}{{mathfrak|W}}{{mathfrak|X}}<!-- -->{{mathfrak|Y}}{{mathfrak|Z}} <!-- -->{{mathfrak|a}}{{mathfrak|b}}{{mathfrak|c}}{{mathfrak|d}}{{mathfrak|e}}{{mathfrak|f}}{{mathfrak|g}}{{mathfrak|h}}<!-- -->{{mathfrak|i}}{{mathfrak|j}}{{mathfrak|k}}{{mathfrak|l}}{{mathfrak|m}}{{mathfrak|n}}{{mathfrak|o}}{{mathfrak|p}}<!-- -->{{mathfrak|q}}{{mathfrak|r}}{{mathfrak|s}}{{mathfrak|t}}{{mathfrak|u}}{{mathfrak|v}}{{mathfrak|w}}{{mathfrak|x}}<!-- -->{{mathfrak|y}}{{mathfrak|z}} <!-- -->{{mathfrak|0}}{{mathfrak|1}}{{mathfrak|2}}{{mathfrak|3}}{{mathfrak|4}}{{mathfrak|5}}{{mathfrak|6}}{{mathfrak|7}}<!-- -->{{mathfrak|8}}{{mathfrak|9}} |&}}
yields the text style HTML+CSS
- โ
๐๐ โญ๐๐๐๐โโ๐๐๐๐๐๐๐๐โ๐๐๐๐๐๐๐โจ ๐๐๐ ๐ก๐ข๐ฃ๐ค๐ฅ๐ฆ๐ง๐จ๐ฉ๐ช๐ซ๐ฌ๐ญ๐ฎ๐ฏ๐ฐ๐ฑ๐ฒ๐ณ๐ด๐ต๐ถ๐ท 0123456789
The code
: {{math|{{mathfrak|ABCDEFGHIJKLMNOPQRSTUVWXYZ \ abcdefghijklmnopqrstuvwxyz \ 0123456789|tex}}|$}}
yields the text style LaTeX
The code
- {{math|{{mathfrak|ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789}}|&&}}
yields the display style HTML+CSS
Mathfrak error: Only a single lowercase/uppercase Latin character is currently supported with the HTML+CSS option.
The code
: {{math|<!-- -->{{mathfrak|A}}{{mathfrak|B}}{{mathfrak|C}}{{mathfrak|D}}{{mathfrak|E}}{{mathfrak|F}}{{mathfrak|G}}{{mathfrak|H}}<!-- -->{{mathfrak|I}}{{mathfrak|J}}{{mathfrak|K}}{{mathfrak|L}}{{mathfrak|M}}{{mathfrak|N}}{{mathfrak|O}}{{mathfrak|P}}<!-- -->{{mathfrak|Q}}{{mathfrak|R}}{{mathfrak|S}}{{mathfrak|T}}{{mathfrak|U}}{{mathfrak|V}}{{mathfrak|W}}{{mathfrak|X}}<!-- -->{{mathfrak|Y}}{{mathfrak|Z}} <!-- -->{{mathfrak|a}}{{mathfrak|b}}{{mathfrak|c}}{{mathfrak|d}}{{mathfrak|e}}{{mathfrak|f}}{{mathfrak|g}}{{mathfrak|h}}<!-- -->{{mathfrak|i}}{{mathfrak|j}}{{mathfrak|k}}{{mathfrak|l}}{{mathfrak|m}}{{mathfrak|n}}{{mathfrak|o}}{{mathfrak|p}}<!-- -->{{mathfrak|q}}{{mathfrak|r}}{{mathfrak|s}}{{mathfrak|t}}{{mathfrak|u}}{{mathfrak|v}}{{mathfrak|w}}{{mathfrak|x}}<!-- -->{{mathfrak|y}}{{mathfrak|z}} <!-- -->{{mathfrak|0}}{{mathfrak|1}}{{mathfrak|2}}{{mathfrak|3}}{{mathfrak|4}}{{mathfrak|5}}{{mathfrak|6}}{{mathfrak|7}}<!-- -->{{mathfrak|8}}{{mathfrak|9}} |&&}}
yields the display style HTML+CSS
๐๐ โญ๐๐๐๐โโ๐๐๐๐๐๐๐๐โ๐๐๐๐๐๐๐โจ ๐๐๐ ๐ก๐ข๐ฃ๐ค๐ฅ๐ฆ๐ง๐จ๐ฉ๐ช๐ซ๐ฌ๐ญ๐ฎ๐ฏ๐ฐ๐ฑ๐ฒ๐ณ๐ด๐ต๐ถ๐ท 0123456789
The code
: {{math|{{mathfrak|ABCDEFGHIJKLMNOPQRSTUVWXYZ \ abcdefghijklmnopqrstuvwxyz \ 0123456789|tex}}|$$}}
yields the display style LaTeX
Examples
The code
: A '''Lie algebra''' is a [[vector space]] '''{{math|{{mathfrak|g}}|&}}''' over some [[field]] {{math|''F''|&}} together with <!-- -->a [[binary operation]] {{math|[{{sym|cdot}},{{sp|3}}{{sym|cdot}}]{{sp|3}}:{{sp|3}}'''{{mathfrak|g}}'''{{sp|3}}{{op|times}}{{sp|3}}<!-- -->'''{{mathfrak|g}}'''{{sp|3}}{{-)|to}}{{sp|3}}'''{{mathfrak|g}}'''|&}} called the '''Lie bracket''', which satisfies the following axioms: (...)
yields the HTML+CSS:
- A Lie algebra is a vector space โ
over some fieldโ๐ค
together with a binary operationโF
called the Lie bracket, which satisfies the following axioms: (...)[ยท,โยท]โ:โ๐คโโรโโ๐คโโโ๐ค
The code
: A '''Lie algebra''' is a [[vector space]] {{math|{{mathfrak|g|tex}}|$}} over some [[field]] {{math|''F''|$}} together with a [[binary operation]] <!-- -->{{math|[{{sym|cdot|tex}},{{sp|3|tex}}{{sym|cdot|tex}}]{{sp|3|tex}}:{{sp|3|tex}}{{mathfrak|g|tex}}{{sp|3|tex}}{{op|times|tex}}{{sp|3|tex}}<!-- -->{{mathfrak|g|tex}}{{sp|3|tex}}{{-)|to|tex}}{{sp|3|tex}}{{mathfrak|g|tex}}|$}} <!-- -->called the '''Lie bracket''', which satisfies the following axioms: (...)
yields the LaTeX:
- A Lie algebra is a vector space over some field together with a binary operation called the Lie bracket, which satisfies the following axioms: (...)