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




> On Thursday, June 08, 2000 11:07, Mario Jorge Nunes Filipe  wrote:
> 
> Radhakrishnan C V wrote:
> 
>  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    |
> 
> 
	Column 4 of your initial table definition never has a content
	of itself, it's always overriden by a \multicolumn. This seems to
	confuse the table environment. An empty line "&&&&&\\"
	in you table fixes your problem partially, you could override the 
	vertical column lines with another \multicolumn{...}, somehow, I
guess.
	You should try your (La)TeX problems in news:comp.text.tex, 
	they'll problably fix you right up there with a good solution.

	Good luck,

		Jens



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