Search results
Results from the WOW.Com Content Network
The math template formats mathematical formulas generated using HTML or wiki markup. (It does not accept the AMS-LaTeX markup that <math> does.) The template uses the texhtml class by default for inline text style formulas, which aims to match the size of the serif font with the surrounding sans-serif font (see below).
When an inline formula is long enough, it can be helpful to allow it to break across lines. Whether using LaTeX or templates, split the formula at each acceptable breakpoint into separate <math> tags or {} templates with any binary relations or operators and intermediate whitespace included at the trailing rather than leading end of a part.
The math template formats mathematical formulas generated using HTML or wiki markup. (It does not accept the AMS-LaTeX markup that <math> does.) The template uses the texhtml class by default for inline text style formulas, which aims to match the size of the serif font with the surrounding sans-serif font (see below).
This template's initial visibility currently defaults to expanded, meaning that it is fully visible. To change this template's initial visibility, the |state= parameter may be used: {{ Math templates | state = collapsed }} will show the template collapsed, i.e. hidden apart from its title bar.
This essay offers a comparison of different encodings and presentation of mathematical formulae. The three principal ones are the <math> tag, raw wiki (or HTML) code, and "texhtml" templates. The <math> and "texhtml" encoding may have different presentations for registered users, depending on user preferences and personal styles.
[[Category:Mathematics templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Mathematics templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Pages for logged out editors learn more
The template is meant to be used with alphabetic text, typically one or a few capital letters. If the body contains an exposed equals-sign ("="), it will fail to render. For example, the following template use produces no result: {{mathcal|P=NP}}. There are two ways to resolve this. Method 1: Start the body with "1=", as in: {{mathcal|1=P=NP}},