\big\lfloor and \big\lceil do not work
Hi, This is based on another question on TeX.SX http://tex.stackexchange.com/q/242256/323 Minimal example: \starttext \startlines $\big\lfloor x \big\rfloor$ % No delimiters $\Big\lfloor x \Big\rfloor$ % No delimiters $\left\lfloor x \right\rfloor$ % Works \stoplines \stoptext Any idea what is happening? (This also fails with cambria, so something is wrong with the settings) On a related note, the following does not work either: \starttext $\left\langle x \right\rfloor$ \stoptext Not that one would ever use such a notation, but it is weird that it does not work. Aditya
On 5/10/2015 4:06 PM, Aditya Mahajan wrote:
$\left\langle x \right\rfloor$
they were not defined as pair (yet) ... done in next beta (there is a special fences subsystem, also with some checking for mismatch and so, needed for unattended processing as in mathml) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sun, 10 May 2015, Hans Hagen wrote:
On 5/10/2015 4:06 PM, Aditya Mahajan wrote:
$\left\langle x \right\rfloor$
they were not defined as pair (yet) ... done in next beta
As I said in the previous email, \langle ... \rfloot are not typically used together, so there is no need to add them as a fenced pair. I just happened to use them together because I was testing whether other delimiters are working or not.
(there is a special fences subsystem, also with some checking for mismatch and so, needed for unattended processing as in mathml)
I did not know that these were enabled by default. I'll try to document this behaviour because it can be quite surprising to someone coming from plain tex or latex. Aditya
On 5/11/2015 12:50 AM, Aditya Mahajan wrote:
On Sun, 10 May 2015, Hans Hagen wrote:
On 5/10/2015 4:06 PM, Aditya Mahajan wrote:
$\left\langle x \right\rfloor$
they were not defined as pair (yet) ... done in next beta
As I said in the previous email, \langle ... \rfloot are not typically used together, so there is no need to add them as a fenced pair. I just happened to use them together because I was testing whether other delimiters are working or not.
one can pair anything fenced so also these (the main issue one doesn't pair but uses one only in which case tex has to be tricked)
(there is a special fences subsystem, also with some checking for mismatch and so, needed for unattended processing as in mathml)
I did not know that these were enabled by default. I'll try to document this behaviour because it can be quite surprising to someone coming from plain tex or latex.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, 11 May 2015, Hans Hagen wrote:
On 5/11/2015 12:50 AM, Aditya Mahajan wrote:
On Sun, 10 May 2015, Hans Hagen wrote:
On 5/10/2015 4:06 PM, Aditya Mahajan wrote:
$\left\langle x \right\rfloor$
they were not defined as pair (yet) ... done in next beta
As I said in the previous email, \langle ... \rfloot are not typically used together, so there is no need to add them as a fenced pair. I just happened to use them together because I was testing whether other delimiters are working or not.
one can pair anything fenced so also these (the main issue one doesn't pair but uses one only in which case tex has to be tricked)
OK. Any hints about the missing \lfloor, \lceil with \big etc.? Aditya
On 5/11/2015 5:34 PM, Aditya Mahajan wrote:
On Mon, 11 May 2015, Hans Hagen wrote:
On 5/11/2015 12:50 AM, Aditya Mahajan wrote:
On Sun, 10 May 2015, Hans Hagen wrote:
On 5/10/2015 4:06 PM, Aditya Mahajan wrote:
$\left\langle x \right\rfloor$
they were not defined as pair (yet) ... done in next beta
As I said in the previous email, \langle ... \rfloot are not typically used together, so there is no need to add them as a fenced pair. I just happened to use them together because I was testing whether other delimiters are working or not.
one can pair anything fenced so also these (the main issue one doesn't pair but uses one only in which case tex has to be tricked)
OK.
Any hints about the missing \lfloor, \lceil with \big etc.?
hm, still missing? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, 11 May 2015, Hans Hagen wrote:
On 5/11/2015 5:34 PM, Aditya Mahajan wrote:
On Mon, 11 May 2015, Hans Hagen wrote:
On 5/11/2015 12:50 AM, Aditya Mahajan wrote:
On Sun, 10 May 2015, Hans Hagen wrote:
On 5/10/2015 4:06 PM, Aditya Mahajan wrote:
$\left\langle x \right\rfloor$
they were not defined as pair (yet) ... done in next beta
As I said in the previous email, \langle ... \rfloot are not typically used together, so there is no need to add them as a fenced pair. I just happened to use them together because I was testing whether other delimiters are working or not.
one can pair anything fenced so also these (the main issue one doesn't pair but uses one only in which case tex has to be tricked)
OK.
Any hints about the missing \lfloor, \lceil with \big etc.?
hm, still missing?
No. They work with the latest beta. Thanks for the bugfix. Aditya
On Mon, 11 May 2015, Aditya Mahajan wrote:
Any hints about the missing \lfloor, \lceil with \big etc.?
hm, still missing?
No. They work with the latest beta.
Other missing delimiters: \lmoustache, \rmoustache, \llbracket, \rrbracket, \llangle, \rrangle, \lgroup, \ulcorner, \urcorner, \llcorner, \lrcorner. Hopefully, I have not missed anything. Aditya
On Mon, 11 May 2015, Aditya Mahajan wrote:
On Mon, 11 May 2015, Aditya Mahajan wrote:
Any hints about the missing \lfloor, \lceil with \big etc.?
hm, still missing?
No. They work with the latest beta.
Other missing delimiters:
\lmoustache, \rmoustache, \llbracket, \rrbracket, \llangle, \rrangle, \lgroup, \ulcorner, \urcorner, \llcorner, \lrcorner.
and \lvert, \rvert, \lVert, \rVert. Aditya
Hi Hans, While you are at the delimiters, could you please add also \| as an alias for \Vert? The command \| exists in plain TeX (and in many other TeX packages used by mathematicians) as an alias for the double bar norm, \Vert, or ||, while as of now in ConTeXt it is an alias for the single bar |. Best regards: OK
On 11 May 2015, at 18:50, Aditya Mahajan
wrote: On Mon, 11 May 2015, Aditya Mahajan wrote:
On Mon, 11 May 2015, Aditya Mahajan wrote:
Any hints about the missing \lfloor, \lceil with \big etc.?
hm, still missing?
No. They work with the latest beta.
Other missing delimiters:
\lmoustache, \rmoustache, \llbracket, \rrbracket, \llangle, \rrangle, \lgroup, \ulcorner, \urcorner, \llcorner, \lrcorner.
and
\lvert, \rvert, \lVert, \rVert.
Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 5/12/2015 8:12 AM, Otared Kavian wrote:
Hi Hans,
While you are at the delimiters, could you please add also \| as an alias for \Vert? The command \| exists in plain TeX (and in many other TeX packages used by mathematicians) as an alias for the double bar norm, \Vert, or ||, while as of now in ConTeXt it is an alias for the single bar |.
\| is already for a long time a single bar (and also in text mode), just like \> etc are singles so consistency is more important here than compatibility with plain btw, i've added\lfence and \rfence (in next beta) as shown below: \starttext \def\foo{\frac{\frac{1}{\frac{1}{x}}}{\frac{1}{\frac{1}{x}}}} \setupmathfence[brace][color=darkyellow] \setupmathfence[bar][color=darkred] \setupmathfence[doublebar][color=darkred] $\left\| \foo \right\|$ $\left| \foo \right|$ $\left{ \foo \right}$ $\lfence{||} \foo \rfence{||}$ $\fenced[doublebar]{\foo}$ \definemathfence [db] [bracket] [command=yes,color=darkblue] $\fenced[db]{\foo}$ \definemathfence [db] [doublebar] [command=yes,color=darkgreen] $\fenced[db]{\foo}$ \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Aditya Mahajan
-
Aditya Mahajan
-
Hans Hagen
-
Otared Kavian