This is the mail archive of the sgml-tools@via.ecp.fr mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Off-Topic] Tables in latex


Mario Jorge Nunes Filipe wrote:
>  I spoke too soon...
> 
>  I made a mistake in the layout above. The correct one would be
> 
>  |A  |B   |C    |
>  |E       |F    |
>  |G|H|I     |J|K|
>  |L|M|N     |O|P|
>  ...
> 
>  After your example I thought that this would be easy here's my atempt:
> 
> \begin{tabular}{|r|l|l|l|r|l|}
> \hline
> \multicolumn{2}{|l|}{A} &B & \multicolumn{3}{|l|}{C} \\ \hline
> \multicolumn{3}{|l|}{E} & \multicolumn{3}{|l|}{F} \\ \hline
> G & H & \multicolumn{2}{|l|}{I} & J & K \\ \hline
> 
> but the result is
> 
>  |A  |B   |C    |
>  |E       |F    |
>  |G|H|I |J|K    |
> 
> So... what am i doing wrong ?

	Aparently nothing since now it is working (i added more rows and
everything is fine).

	But now I have another question. How do i define the sizeof the
columns. I don't want tex deciding that, i wan't all of the documents
with the exact same format.

	I tryed \hspace before A, B, etc but that didn't work because A and B
would show up aligned to the right even if i sayd i wanted them to the
left, so i tried the other way arround but without results.

	Please I promise I won't do anymore questions.

	Thanks
 
-- 
        Mario Filipe 
        mjnf@uevora.pt
        http://neptuno.sc.uevora.pt/~mjnf



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]