[Tugindia] alignment in a table across rows

David Kastrup tugindia@tug.org
24 Jan 2003 10:50:31 +0100


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

> now, my first latex document has a table in the following format:
> 
> -------------------------------------
> Heading | Detail
> -------------------------------------
> H1      | * Bullet 1
> 	| * Bullet 2
> ------------------------------------
> 
> here is what i have done
> 
> \begin{tabular}{p{2}|p{3}}
> \hline
> Heading&Detail\\
> \large
> H1
> \normalsize&
> \begin{itemize}
> \item Bullet 1
> \item Bullet 2
> \end{itemize}
> \hline
> \end{tabular}
> 
> now, top of H1 and Bullet 1 is not aligned. what could be the reason?

p{2} ?  p{3}?  I am surprised you should not be getting any
compilation error with that sort of preamble.

Anyway, take a look at array.sty and read the first two pages of its
documentation.  It has provisions for that sort of thing.

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