Template:LaTeX operators/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
! You type !! You get | ! You type !! You get | ||
|- | |- | ||
| <code> | | <code>floor</code> || <code>\floor{{(}}x + y{{)}}</code> || <math>\floor{x + y}</math> | ||
|- | |- | ||
| <code> | | <code>ceil</code> || <code>\ceil{{(}}x + y{{)}}</code> || <math>\ceil{x + y}</math> | ||
|- | |- | ||
| <code> | | <code>abs</code> || <code>\abs{{(}}x + y{{)}}</code> || <math>\abs{x + y}</math> | ||
|- | |- | ||
| <code> | | <code>round</code> || <code>\round{{(}}x + y{{)}}</code> || <math>\round{x + y}</math> | ||
|- | |- | ||
| <code> | | <code>rround</code> || <code>\rround{{(}}x + y{{)}}</code> || <math>\rround{x + y}</math> | ||
|} | |} | ||
=== See also === | === See also === | ||
* [[:Template:LaTeX mapping operators]] – | * [[:Template:LaTeX mapping operators]] – A more advanced LaTeX template, used for typesetting [[monzo]]s and [[val]]s. |
Revision as of 15:31, 20 September 2024
Usage
Operator | Example | |
---|---|---|
You type | You get | |
floor |
\floor{x + y} |
[math]\displaystyle{ \floor{x + y} }[/math] |
ceil |
\ceil{x + y} |
[math]\displaystyle{ \ceil{x + y} }[/math] |
abs |
\abs{x + y} |
[math]\displaystyle{ \abs{x + y} }[/math] |
round |
\round{x + y} |
[math]\displaystyle{ \round{x + y} }[/math] |
rround |
\rround{x + y} |
[math]\displaystyle{ \rround{x + y} }[/math] |
See also
- Template:LaTeX mapping operators – A more advanced LaTeX template, used for typesetting monzos and vals.