Template:LaTeX operators/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 17: | Line 17: | ||
|- | |- | ||
| <code>rround</code> || <code>{{nowrap|\rround{{(}}x + y{{)}}}}</code> || <math>\rround{x + y}</math> || "Reverse round" (distance to nearest integer) | | <code>rround</code> || <code>{{nowrap|\rround{{(}}x + y{{)}}}}</code> || <math>\rround{x + y}</math> || "Reverse round" (distance to nearest integer) | ||
|- | |||
| <code>hs</code> || colspan="2" | <code>\hs{{(}}{{)}}</code> || Narrow whitespace | |||
|} | |} | ||
=== See also === | === See also === | ||
* [[:Template:LaTeX mapping operators]] – A more advanced LaTeX template, used for typesetting [[monzo]]s and [[val]]s. | * [[:Template:LaTeX mapping operators]] – A more advanced LaTeX template, used for typesetting [[monzo]]s and [[val]]s. |
Revision as of 13:43, 30 September 2024
Usage
Operator | Example | Definition | |
---|---|---|---|
You type | You get | ||
floor |
\floor{x + y} |
[math]\displaystyle{ \floor{x + y} }[/math] | Floor (round down) |
ceil |
\ceil{x + y} |
[math]\displaystyle{ \ceil{x + y} }[/math] | Ceiling (round up) |
abs |
\abs{x + y} |
[math]\displaystyle{ \abs{x + y} }[/math] | Absolute value (magnitude) |
round |
\round{x + y} |
[math]\displaystyle{ \round{x + y} }[/math] | Round (to the nearest integer) |
rround |
\rround{x + y} |
[math]\displaystyle{ \rround{x + y} }[/math] | "Reverse round" (distance to nearest integer) |
hs |
\hs{} |
Narrow whitespace |
See also
- Template:LaTeX mapping operators – A more advanced LaTeX template, used for typesetting monzos and vals.