[Tugindia] three questions on tables

Sandip P Deshmukh deshmukh at escortsmumbai.com
Fri Feb 21 16:38:27 CET 2003


On Fri, Feb 21, 2003 at 11:46:36AM +0100, David Kastrup wrote:
> 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|}{...

yes got it. albeit a bit later. sorry! i thought that the verticle bars
defined at the top are enough even for multicolumn.

-- 
regards,
sandip p deshmukh
------***--------


More information about the Tugindia mailing list