Is there a convenient way to typeset the floor or ceiling of a number, without needing to separately code the left and right parts? For example, is there some way to do $\ceil{x}$
instead of $\lceil x \rceil$
?
[Tex/LaTex] ‘Floor’ and ‘ceiling’ functions
symbols
Best Answer
The command
\ceil
will do; if called as\ceil*{x}
it will add\left
and\right
; you can also call it asto state explicitly the size of the delimiters.