Skip to main content
10 events
when toggle format what by license comment
Mar 25, 2021 at 8:05 history edited Lubomir Borisov CC BY-SA 4.0
added 16914 characters in body
Feb 16, 2021 at 12:37 answer added David Carlisle timeline score: 3
Feb 16, 2021 at 11:14 comment added David Carlisle You have posted multiple copies of this now and i really can not guess the intention of the multicolumn You show an image of a table with 8 columns so why do you declare 20 columns in the table (and still after multiple times do that with no X) then have spanning columns in every cell?
Feb 16, 2021 at 10:20 comment added Lubomir Borisov Can you help me with the calculation of one row ? I set \setlength{\tabcolsep}{0.8mm}. How many times this is used ? For every column in the row twice - one for the left side and one for the right side? How to calculate the width of the rules ?
Feb 16, 2021 at 10:14 comment added Ulrike Fischer yes, that what I mean. You need to account for the column separations \tabcolsep and the width of the rules (assuming that you load array). It is a bit work, but normally at the end much easier to control. I only use X-columns if calculation really doesn't work for some reason.
Feb 16, 2021 at 10:09 comment added Lubomir Borisov By calculation you mean for each row to do something like \textwidth - (sum of numeric columns width) = space left for variable columns ? And then use mutlicolumn{2}{|p{lets say 30mm}|}{variable} . Is this correct ? Also when I have multicolumn does it actually matters how many columns I put in there when I point out its a p column with its own width ? Ofc I need to fullfill the required columns of the table preamble for the row.
Feb 16, 2021 at 9:50 comment added Ulrike Fischer No you don't need an X type. you only should decide how wide the columns with the numbers should be and then calculate the width of the rest. then you can use the p or w type.
Feb 16, 2021 at 9:47 comment added Lubomir Borisov You are right. I know this. David Carlisle said that I can not use column of type X and then multicolumn{2}{|l|} . I need to use multicolumn{2}{|X|} where things like multicolumn{2}{|X|}{ \centering TEST } actually don't work.The example I provided produces equal result with longtable also.
Feb 16, 2021 at 9:13 comment added Ulrike Fischer well the first thing you need to understand is that it doesn't make any sense at all to use xtabular without a X-column.
Feb 16, 2021 at 8:17 history asked Lubomir Borisov CC BY-SA 4.0