This is my first post here. I am struggling with overcoming problem of overfull \vbox warning. It is caused by three-lined cell of a table while it \multirow
's only two one-lined. In fact in my main document using \\[0.5cm]
works pretty well, but still produces the warning.
In MWE it also has nasty in-table margins.
I would appreciate any help from you. Thank you!
\documentclass[a4paper,12pt]{report}
\usepackage{tabularx}
\usepackage{multirow}
\begin{document}
\begin{table}[ht]
\footnotesize
\begin{tabularx}{\textwidth}{c | m{1.9cm} | X X | X X | X X | m{1.7cm} }
blabla & blabla & \multicolumn{2}{c|}{blabla} & \multicolumn{2}{c|}{blabla} & \multicolumn{2}{c|}{blabla} & blabla \\ \hline
& & \multicolumn{6}{ c| }{Name} & \multirow{2}{1.7cm}{Some pretty long text} \\ \cline{3-8}
& & 1 & 2 & 3 & 4 & 5 & 6 & \\ \hline
\end{tabularx}
\end{table}
\end{document}
\multirow
. This is for sure an overfull vertical box. Just increase the width of your cell to\multirow{2}{1.9cm}{Some pretty long text}
and you ready to go. (same thing for them{1.9cm}
above, of course).\rule[1.5ex]{0pt}{2.5ex}
, to increase the vertical space.