This site is supported by donations to The OEIS Foundation.

Template:Mathbb

From OeisWiki
Jump to: navigation, search

The {{mathbb}} mathematical alphanumeric symbols template is intended to simulate a Blackboard Bold (Open Face, Double Struck)[1] font for use in mathematical formulas using standard HTML+CSS. The template does not attempt to use any Blackboard Bold font that may be installed on several operating systems, either as default or as part of a package. (Currently, since we can't rely on those fonts being installed, the template resorts to using Unicode code points.) This template may also be used to get \mathbb{...} in LaTeX markup (see Help:Displaying a formula).

Usage

{{mathbb|text}}

or

{{mathbb|text|format}}

where text is

  • a Latin alphabetic character (uppercase or lowercase) or a Hindu-arabic numeral (LaTeX only supports uppercase Latin characters);

and format is among

  • htm: to get HTML+CSS (default),
  • tex: to get LaTeX code.

Tests

The code

{{mathbb|ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789}}

yields

Mathbb error: Only a single Latin alphabetic character (uppercase or lowercase) or a Hindu-arabic numeral is currently supported with the HTML+CSS option.

The code

: {{math|<!--
-->{{mathbb|A}}{{mathbb|B}}{{mathbb|C}}{{mathbb|D}}{{mathbb|E}}{{mathbb|F}}{{mathbb|G}}{{mathbb|H}}<!--
-->{{mathbb|I}}{{mathbb|J}}{{mathbb|K}}{{mathbb|L}}{{mathbb|M}}{{mathbb|N}}{{mathbb|O}}{{mathbb|P}}<!--
-->{{mathbb|Q}}{{mathbb|R}}{{mathbb|S}}{{mathbb|T}}{{mathbb|U}}{{mathbb|V}}{{mathbb|W}}{{mathbb|X}}<!--
-->{{mathbb|Y}}{{mathbb|Z}}
|&}}{{nl}}<!--
-->{{math|<!--
-->{{mathbb|a}}{{mathbb|b}}{{mathbb|c}}{{mathbb|d}}{{mathbb|e}}{{mathbb|f}}{{mathbb|g}}{{mathbb|h}}<!--
-->{{mathbb|i}}{{mathbb|j}}{{mathbb|k}}{{mathbb|l}}{{mathbb|m}}{{mathbb|n}}{{mathbb|o}}{{mathbb|p}}<!--
-->{{mathbb|q}}{{mathbb|r}}{{mathbb|s}}{{mathbb|t}}{{mathbb|u}}{{mathbb|v}}{{mathbb|w}}{{mathbb|x}}<!--
-->{{mathbb|y}}{{mathbb|z}}
|&}}{{nl}}<!--
-->{{math|<!--
-->{{mathbb|0}}{{mathbb|1}}{{mathbb|2}}{{mathbb|3}}{{mathbb|4}}{{mathbb|5}}{{mathbb|6}}{{mathbb|7}}<!--
-->{{mathbb|8}}{{mathbb|9}}
|&}}

yields the text style HTML+CSS

𝔸𝔹ℂ𝔻𝔼𝔽𝔾ℍ𝕀𝕁𝕂𝕃𝕄ℕ𝕆ℙℚℝ𝕊𝕋𝕌𝕍𝕎𝕏𝕐ℤ

𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛𝕜𝕝𝕞𝕟𝕠𝕡𝕢𝕣𝕤𝕥𝕦𝕧𝕨𝕩𝕪𝕫

𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡

The code

: {{math|{{mathbb|ABCDEFGHIJKLMNOPQRSTUVWXYZ|tex}}|$}}{{nl}}<!--
-->{{math|{{mathbb|abcdefghijklmnopqrstuvwxyz|tex}}|$}}{{nl}}<!--
-->{{math|{{mathbb|0123456789|tex}}|$}}

yields the text style LaTeX (LaTeX only supports uppercase Latin characters blackboard typefaces)



The code

: {{math|<!--
-->{{mathbb|A}}{{mathbb|B}}{{mathbb|C}}{{mathbb|D}}{{mathbb|E}}{{mathbb|F}}{{mathbb|G}}{{mathbb|H}}<!--
-->{{mathbb|I}}{{mathbb|J}}{{mathbb|K}}{{mathbb|L}}{{mathbb|M}}{{mathbb|N}}{{mathbb|O}}{{mathbb|P}}<!--
-->{{mathbb|Q}}{{mathbb|R}}{{mathbb|S}}{{mathbb|T}}{{mathbb|U}}{{mathbb|V}}{{mathbb|W}}{{mathbb|X}}<!--
-->{{mathbb|Y}}{{mathbb|Z}}
|&&}}{{nl}}<!--
-->{{math|<!--
-->{{mathbb|a}}{{mathbb|b}}{{mathbb|c}}{{mathbb|d}}{{mathbb|e}}{{mathbb|f}}{{mathbb|g}}{{mathbb|h}}<!--
-->{{mathbb|i}}{{mathbb|j}}{{mathbb|k}}{{mathbb|l}}{{mathbb|m}}{{mathbb|n}}{{mathbb|o}}{{mathbb|p}}<!--
-->{{mathbb|q}}{{mathbb|r}}{{mathbb|s}}{{mathbb|t}}{{mathbb|u}}{{mathbb|v}}{{mathbb|w}}{{mathbb|x}}<!--
-->{{mathbb|y}}{{mathbb|z}}
|&&}}{{nl}}<!--
-->{{math|<!--
-->{{mathbb|0}}{{mathbb|1}}{{mathbb|2}}{{mathbb|3}}{{mathbb|4}}{{mathbb|5}}{{mathbb|6}}{{mathbb|7}}<!--
-->{{mathbb|8}}{{mathbb|9}}
|&&}}

yields the display style HTML+CSS

𝔸𝔹ℂ𝔻𝔼𝔽𝔾ℍ𝕀𝕁𝕂𝕃𝕄ℕ𝕆ℙℚℝ𝕊𝕋𝕌𝕍𝕎𝕏𝕐ℤ

𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛𝕜𝕝𝕞𝕟𝕠𝕡𝕢𝕣𝕤𝕥𝕦𝕧𝕨𝕩𝕪𝕫

𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡

The code

: {{math|{{mathbb|ABCDEFGHIJKLMNOPQRSTUVWXYZ|tex}}|$$}}{{nl}}<!--
-->{{math|{{mathbb|abcdefghijklmnopqrstuvwxyz|tex}}|$$}}{{nl}}<!--
-->{{math|{{mathbb|0123456789|tex}}|$$}}

yields the display style LaTeX (LaTeX only supports uppercase Latin characters blackboard typefaces)



Examples

: The set of complex numbers is notated {{math|{{mathbb|C}}|&}}.

yields

The set of complex numbers is notated 
.

Notes

See also