On Tue, Apr 6, 2010 at 5:41 PM, Mikael Persson
On Tue, Apr 6, 2010 at 4:43 PM, Hans Hagen
wrote: On 6-4-2010 10:30, Mikael Persson wrote:
Dear list,
I have problems with \big, \bigl, \Bigl, ...
%% Example \def\foo#1{\type{#1}: #1}
\starttext \foo{$|x|^n$} % as expected.
\foo{$\bigl|x^n\bigr|$} % expect bigger bars
\foo{$\big|x^n\big|$} % expect bigger bars
\foo{$\Bigl|x^n\Bigr|$} % too small again (but bigger than \big)
\foo{$\biggl|x^n\biggr|$} % too small again (but bigger than \big)
\foo{$\Biggl|x^n\Biggr|$} % too small again (but bigger than \big)
\foo{$\|x^n\|$} % expect two bars
\foo{$\bigl\|x^n\bigr\|$} % expect two bars and bigger ones \stoptext %%% Stop example
It gives the attached pdf file with latest minimals and mkiv.
will be fixed in next beta ... i needed to make a few more virtal shapes (in the size chain)
Great Hans, thanks! Looking forward to the new beta...
Mikael
Ok Hans, with the beta from yesterday the absolute values change size, but there are some problems still: 1) The absolute value bars are not just "straight lines" when using \big and friends, but som kind of line that is thicker in the middle. (zoom i on attached pdf) 2) The horizontal spacing in the \big version seems to be bigger than for the \bigl/\bigr version (and similar for \Big vs \Bigl/\Bigr). I'd expect the same spacing (the l and r are just there for the writer to easily see what is left and what is right). 3) I'd expect that \| gives double bars, like the || one get from \Vert and not |. This is not so (see the attached file). Moreover, it is not possible to do \bigl\Vert right now to get a bigger ||. Mikael PS Compilde with ConTeXt ver: 2010.04.07 17:58 MKIV fmt: 2010.4.8 int: english/english This is LuaTeX, Version beta-0.60.0-2010040422