| Line 658: | Line 658: | ||
* In some cases it may be appropriate to provide a conversion accounting for inflation or deflation over time. | * In some cases it may be appropriate to provide a conversion accounting for inflation or deflation over time. | ||
== | ==Common mathematical symbols== | ||
{{See also|UniWiki:Manual of Style/Mathematics}} | |||
{{See also| | |||
* The ''Insert'' menu below the editing window gives a more complete list of math symbols, and allows symbols to be inserted without the HTML encoding (e.g. <code>&divide;</code>) shown here. | * The ''Insert'' menu below the editing window gives a more complete list of math symbols, and allows symbols to be inserted without the HTML encoding (e.g. <code>&divide;</code>) shown here. | ||
* Spaces are placed to left and right when a symbol is used | * Spaces are placed to left and right when a symbol is used [[Wikipedia:binary operation|with two operands]]}}, but no space is used when [[Wikipedia:unary operation |there is one operand]]}}. | ||
* Use | * Use {{tag|var}} for variable names: <code><nowiki><var>base</var> + <var>ht</var></nowiki></code> produces <var>base</var> + <var>ht</var>. | ||
* The {{ | * The {{tl|nbsp}} template may be used to prevent awkward linebreaks. | ||
{|class="wikitable" style="align: center; text-align: center;" | {|class="wikitable" style="align: center; text-align: center;" | ||
|+Common mathematical symbols | |+Common mathematical symbols | ||
| Line 675: | Line 674: | ||
! Comments | ! Comments | ||
|- | |- | ||
| rowspan=2| [[Plus sign|Plus /<br />positive]] | | rowspan=2| [[Wikipedia:Plus sign|Plus /<br />positive]] | ||
| | | <var>x</var> + <var>y</var> | ||
| <code> | | <code><nowiki><var>x</var> + <var>y</var></nowiki></code> | ||
| rowspan=2| | | rowspan=2| | ||
|- | |- | ||
| + | | +<var>y</var> | ||
| <code>+ | | <code><nowiki>+<var>y</var></nowiki></code> | ||
|- | |- | ||
| rowspan=2|[[Minus sign|Minus /<br />negative]] | | rowspan=2|[[Wikipedia:Minus sign|Minus /<br />negative]] | ||
| | | <var>x</var> − <var>y</var> | ||
| <code>{{var|x}} &minus; {{var|y}}</code> | | <code>{{var|x}} &minus; {{var|y}}</code> | ||
| rowspan=2|Do not use hyphen ({{!xt|<code>-</code>}}) or dashes ({{!xt|{{tlx|ndash}}}} {{nobr|or {{!xt|{{tlx|mdash}}}}).}} | | rowspan=2|Do not use hyphen ({{!xt|<code>-</code>}}) or dashes ({{!xt|{{tlx|ndash}}}} {{nobr|or {{!xt|{{tlx|mdash}}}}).}} | ||