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.
[[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.
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}},
The following sections cover the way of presenting simple inline formulae in HTML, instead of using LaTeX. Templates supporting HTML formatting are listed in Category:Mathematical formatting templates. Not all templates are recommended for use; in particular, use of the {} template to format fractions is discouraged in mathematics articles.
[[Category:Mathematics stub templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Mathematics stub templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.