Template:LaTeX operators: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{texchars}}<span style="display: none;"><math>
<span style="display: none;">
{{texchars}}
<math>
\def\abs#1{\left|{#1}\right|}
\def\abs#1{\left|{#1}\right|}
\def\floor#1{\left\lfloor{#1}\right\rfloor}
\def\floor#1{\left\lfloor{#1}\right\rfloor}
Line 5: Line 7:
\def\round#1{\left\lceil{#1}\right\rfloor}
\def\round#1{\left\lceil{#1}\right\rfloor}
\def\rround#1{\left\lfloor{#1}\right\rceil}
\def\rround#1{\left\lfloor{#1}\right\rceil}
</math></span><noinclude>
</math>
</span><noinclude>
This template allows easy typesetting of the floor, ceiling, and rounding functions in LaTeX.
This template allows easy typesetting of the floor, ceiling, and rounding functions in LaTeX.