I think I am using the wrong search queries to say this, but I'm trying to make a table that contains cells whose widths are determined by their parents' uniformity, not whose parents' widths are determined by their childrens' uniformity.
My example is I'd like to make my table look like this:
As you can see, the titlebars for col1 == col2 == col3 in width.
Child cells x1 == x2 == x3, and y1 == z1, but x1 != y1.
However, the code I have below is producing even child cells, and differently sized parent cells:
\begin{table}
\setlength\tabcolsep{0pt}
\begin{tabu} to \textwidth { | *{5}{X[c]|} | *{3}{X[c]|} | *{3}{X[c]|} }
\toprule
\multicolumn{5}{c}{col1} & \multicolumn{3}{c}{col2} & \multicolumn{3}{c}{col3} \\
%% \cmidrule{1-5} \cmidrule{6-8} \cmidrule{9-11} \\
x1 & x2 & x3 & x4 & x5 & y1 & y2 & y3 & z1 & z2 & z3 \\
\midrule
1 & 1 & 1 & 1 & 1 & 2 & 2 & 2 & 3 & 3 & 3 \\
\bottomrule
\end{tabu}
\caption{mess.}
\label{tab:mess}
\end{table}
As you can see:
What should I do differently?



\cmidruledirectives seems to indicate that there should be no vertical bars to begin with.) Please clarify. – Mico Nov 07 '18 at 07:12