Jump to content

Template:math/documentation

From Wiktionary, the free dictionary
Documentation for Template:math. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template is used to format mathematical expressions. It is implemented using HTML and CSS.

Parameters

[edit]
|1= (required)
The mathematical expression to format.
|big= (optional)
Makes the text bigger (by setting the CSS font-size property to 165%) if given any value. Overridden by |size=.
|size= (optional)
The font size to use (as the CSS font-size property). May be given in pixels (15px), as a percentage (120%), or in ems (1.2em). Overrides |big=.

Examples

[edit]
  • {{math|1.602 &times; 10<sup>-19</sup>}}
1.602 × 10-19
  • {{math|1.602 &times; 10<sup>-19</sup>|big=1}}
1.602 × 10-19
  • {{math|1.602 &times; 10<sup>-19</sup>|size=100%}}
1.602 × 10-19