I am trying to get a table with 3 parts to come out evenly, using tabular or tabularx, but I come out with 3 tables of different widths stacked on top of each other.
\begin{table}
\begin{tabular*}{\linewidth}[b]{lcr}
1 - 50 & \bf{The Balanced Table Header} & Sides: 44 - 1365 \\
\end{tabular*}
\begin{tabular*}{\linewidth}[b]{|c|c|c|c|c|c|}
100 & 101 & 10000000001 & 2000000002 & 3000000003 & 400000000004 \\
\end{tabular*}
\begin{tabular*}{\linewidth}[b]{lr}
BeEF - 20:7:7:16 & 20:7:7:16 - Total
\end{tabular*}
\end{table}
This is NOT what is needed, I want the table to expand to the largest width, but have the first row evenly spaced with 3 items, the second row with 6 items, and the third row with one item to the left and one item on the right.
I must NOT have any of the columns on one line smashing or enlarging the column widths on any other row, each row must not affect the rows above or below. Of course I would like to have the middle of the table with a set of identical rows.
The easiest way to me, would be to simply redefine the column layout on the fly inside the table, but I have not found a way to do this.
Any ideas how to get a table with full widths for all rows?
tabularx
but you must use theX
column specifier. However, I'm not really sure I understand what you are trying to do. – cfr Apr 22 '17 at 1:37\bf
is a deprecated command but if you do use it, it does not take an argument so\bf xxxx
not\bf{xxx}
but just use\bfseries xxx
– David Carlisle Apr 22 '17 at 8:48tabularx
andtabular*
is that one stretches the column widths and one stretches inter-column space, but you have allowed stretching of neither. You have to useX
columns intabularx
and you have to use\extracolumnsep
intabular*
– David Carlisle Apr 22 '17 at 8:50