This site is supported by donations to The OEIS Foundation.

Template:Mathbb/doc

From OeisWiki
Jump to: navigation, search

This documentation subpage contains instructions, categories, or other information for Template:Mathbb. [<Edit> Template:Mathbb]

[⧼Purge⧽ Template:Mathbb/doc]

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