* \big\lfloor and \big\lceil do not work
@ 2015-05-10 14:06 Aditya Mahajan
2015-05-10 16:28 ` Hans Hagen
0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2015-05-10 14:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-10 14:06 \big\lfloor and \big\lceil do not work Aditya Mahajan
@ 2015-05-10 16:28 ` Hans Hagen
2015-05-10 22:50 ` Aditya Mahajan
0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2015-05-10 16:28 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-10 16:28 ` Hans Hagen
@ 2015-05-10 22:50 ` Aditya Mahajan
2015-05-11 7:14 ` Hans Hagen
0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2015-05-10 22:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-10 22:50 ` Aditya Mahajan
@ 2015-05-11 7:14 ` Hans Hagen
2015-05-11 15:34 ` Aditya Mahajan
0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2015-05-11 7:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-11 7:14 ` Hans Hagen
@ 2015-05-11 15:34 ` Aditya Mahajan
2015-05-11 16:14 ` Hans Hagen
0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2015-05-11 15:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-11 15:34 ` Aditya Mahajan
@ 2015-05-11 16:14 ` Hans Hagen
2015-05-11 16:17 ` Aditya Mahajan
0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2015-05-11 16:14 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-11 16:14 ` Hans Hagen
@ 2015-05-11 16:17 ` Aditya Mahajan
2015-05-11 16:31 ` Aditya Mahajan
0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2015-05-11 16:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-11 16:17 ` Aditya Mahajan
@ 2015-05-11 16:31 ` Aditya Mahajan
2015-05-11 16:50 ` Aditya Mahajan
0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2015-05-11 16:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-11 16:31 ` Aditya Mahajan
@ 2015-05-11 16:50 ` Aditya Mahajan
2015-05-12 6:12 ` Otared Kavian
0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2015-05-11 16:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-11 16:50 ` Aditya Mahajan
@ 2015-05-12 6:12 ` Otared Kavian
2015-05-12 11:58 ` Hans Hagen
0 siblings, 1 reply; 11+ messages in thread
From: Otared Kavian @ 2015-05-12 6:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 <adityam@umich.edu> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \big\lfloor and \big\lceil do not work
2015-05-12 6:12 ` Otared Kavian
@ 2015-05-12 11:58 ` Hans Hagen
0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2015-05-12 11:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-05-12 11:58 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-10 14:06 \big\lfloor and \big\lceil do not work Aditya Mahajan
2015-05-10 16:28 ` Hans Hagen
2015-05-10 22:50 ` Aditya Mahajan
2015-05-11 7:14 ` Hans Hagen
2015-05-11 15:34 ` Aditya Mahajan
2015-05-11 16:14 ` Hans Hagen
2015-05-11 16:17 ` Aditya Mahajan
2015-05-11 16:31 ` Aditya Mahajan
2015-05-11 16:50 ` Aditya Mahajan
2015-05-12 6:12 ` Otared Kavian
2015-05-12 11:58 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).