[Tugindia] three questions on tables

David Kastrup dak at gnu.org
Fri Feb 21 11:46:36 CET 2003


Sandip P Deshmukh <deshmukh at escortsmumbai.com> writes:

> well, sorry i did not express the problem properly. if i have the
> following:
> 
> \begin{tabular}{|l|l|}
> \multicolumn{2}{l}{some text}\\
> some&text\\
> \end{tabular}
> 
> there is a verticle bar in second row but not in the first. here is how
> it looks:
> some text
> | some | text|
> 
> so, is multicolumn making the verticle bars disappear?

Of course it does.  It replaces the specification for the given number
of columns.  If you want vertical bars, specify them in the
multicolumn preamble, as
\multicolumn{2}{|l|}{...

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
UKTUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>


More information about the Tugindia mailing list