[dev-context] lvert rvert etc in math

Hans Hagen pragma at wxs.nl
Mon Mar 19 10:43:08 CET 2007


Aditya Mahajan wrote:
> On Sun, 25 Feb 2007, Taco Hoekwater wrote:
>
>   
>> Aditya Mahajan wrote:
>>     
>>> Hi Hans and Taco,
>>>
>>> amsmath.sty defines \lvert and \rvert which provide correct spacing when 
>>> \vert is used as a left or a right delimiter (code at the end of email). I 
>>> do not completely understand what amsmath is trying to do. Wouldn't
>>>
>>> \definemathsymbol [lvert] [open]  [sy] ["6A] [ex] ["0C]
>>> \definemathsymbol [rvert] [close] [sy] ["6A] [ex] ["0C]
>>>
>>> this achieve the same goal?
>>>       
>> Yes. The AMS code does not quite know when it will be run
>> and it has to cope with other math encodings as well, that
>> is why it is that much more complicated.
>>     
>
> Hans,
>
> Can the following be added to math-tex
>
> \definemathsymbol [lvert] [open]  [sy] ["6A] [ex] ["0C]
> \definemathsymbol [rvert] [close] [sy] ["6A] [ex] ["0C]
>
> \definemathsymbol [lVert] [open]  [sy] ["6B] [ex] ["0D]
> \definemathsymbol [rVert] [close] [sy] ["6B] [ex] ["0D]
>
>   
ok


-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the dev-context mailing list