I have a small problem. I would like to rebuild the following table:
Until now I made the following code:
\begin{tabular}{lllllll}\toprule
\textbf{Factor} & \textbf{Effect} & \textbf{Percentage of Variation} & \textbf{Confidence Intervall} & \textbf{Effect} & \textbf{Percentage of Variation} & \textbf{Confidence Intervall} \\ \midrule
I & 26.55 & ~ & (16.35,36,74) & 0.03 & ~ & (-0.02,0.07) \\
\bottomrule
\end{tabular}
My problem now is the following:
-
I cannot get "Percentage of Variation" etc. on two lines (line break).
-
I don't know how to make the "Additive Model" und "Multiplicative Model".
I would really appreciate if somebody could help.
Best Answer
Here is a quick view on using
booktabs
for the layout, andmakecell
for per-cell alignment:For small tables, manual
\phantom
adjustments are easy to make. Alternatively, one could considersiunitx
column specifications.