Template:Math

From The Remnant 2 Wiki
Jump to navigation Jump to search
Documentation icon Template Documentation

Adapted from Wikipedia:Template:Math.

Template used to write out math equations.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
bigbig

Specifies whether to use larger font.

Example
1
Booleanoptional
sizesize

Specific font size if defaults aren't wanted.

Example
250%
Contentoptional
11

Math equation

Example
''f''(''x'') {{=}} ''a'' &times; ''b''<sup>''x''</sup> {{=}} ''y''
Contentrequired

Usage[edit source]

Writing out formulas[edit source]

{{math|''f''(''x'') {{=}} ''a'' × ''b''<sup>''x''</sup> {{=}} ''y''}}

f(x) = a × bx = y

  • ''text'' or ''x'' results in italicized text: text or x
  • {{=}} results in an equals sign usable within a template call. A normal = will not be treated as expected.
  • <sup>text</sup> or <sup>x</sup> results in superscript text: text or x
  • &times; renders a multiplication symbol &times

Larger font options[edit source]

{{math|big=1|5 + 10 {{=}} 15}}

5 + 10 = 15

{{math|size=250%|5 + 10 {{=}} 15}}

5 + 10 = 15