[texhax] \vline and fat column rules

Philip Ratcliffe philip.ratcliffe at email.it
Wed Jun 15 19:22:37 CEST 2005


Spot the difference:

\newcommand\wvlinevar[1]{{\global\savedwidth\arrayrulewidth%
\global\arrayrulewidth #1}%
\vline {\global\arrayrulewidth\savedwidth}\ignorespaces}

The point is this: something like \wvlineconst automatically eats up any
following spaces (that's a TeX rule) whereas something like \wvlinevar{1pt}
will not and the following space gets counted.  So, the command
\ignorespaces is necessary to avoid the extra space, which is what is
causing the positional shift.

Cordialmente,  Phil Ratcliffe

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Iscriviti GRATUITAMENTE: ci sono 5 Euro che ti aspettano .e decine di corsi...
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3416&d=15-6



More information about the texhax mailing list