[texhax] borders in tabularx

Steve Schwartz s.schwartz at imperial.ac.uk
Mon Aug 9 21:40:42 CEST 2010


On Mon, 2010-08-09 at 18:20 +0100, Zbigniew Nitecki wrote:
> Why does the following code not give me a vertical double bar at the
> left of the regular lines, and single instead of double vertical lines
> separating certain columns? 

Because that's what the lines:

\begin{tabularx}%
{\linewidth}{l|Y||Y||Y||Y||Y||Y||Y||Y||}

tell it to do. Note that the first character is an "ell" not a vertical
rule. Reading the directive gives:

left vert Y vert vert Y vert vert Y ...

Try this one instead:

 {\linewidth}{||l||Y||Y||Y||Y||Y||Y||Y||Y||}

or modify accordingly.

HTH
Steve

PS It would be better to post a *minimal* example rather than one
requiring various packages, etc. I suspect if you constructed such a
minimal example you might have answered your own question in the
process.
-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7772
The Blackett Laboratory            E-mail: s.schwartz at imperial.ac.uk
Imperial College London            Office: Huxley 6M67A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+



More information about the texhax mailing list