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 -----------------------------------------------------------------