Why the floor and ceil math delimiters don't display?
Code:
\starttext
\startformula
\Bigl\lfloor \frac{x}{y}\Bigr\rfloor
\stopformula
\startformula
\Bigl\lceil \frac{x}{y}\Bigr\rceil
\stopformula
\stoptext
Thank you in advance.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityThis was a bug! It has been fixed in the beta ver: 2015.5.11
.
If you are using ConTeXt standalone, you can update your distribution and these will work. The fix would also be part of TL2015.
In case you are wondering, why such this bug existed, ConTeXt has an experimental feature (motivated by MathML fences). For example, if you want the \lfloor ... \rfloor
to appear in blue, you can use:
\setupmathfence[floor][color=blue]
\starttext
$\left\lfloor x \right\rfloor $
\stoptext
This only works with \left..\right
and not \big
etc. The above example gives
It is also possible to use this to define new fences (what LaTeX calls PairedDelimiters). For example,
\definemathfence [ABS][bar][ command=yes, color=blue]
defines a command \ABS{...}
that is equivalent to \fenced{bar}{...}
, which, in-turn, is equivalent to \left| ... \right|
.
Some of the delimiters were missing and as a side-effect, \big\lfloor
was not working.
context
as the command to process the given input.\left\lfloor ... \right\rfloor
works ok.