I need to specify rows that must be on the same page using longtable. How can I?
I have long table of pictures and descriptions (I use longtable
environment to 开发者_开发百科get it in several columns on page). I want this to be splitted past picture, not between middle title and picture. My table looks like this:
\multicolumn{3}{2}{description} \\
\includegraphics[]{} &
\includegraphics[]{} &
\includegraphics[]{} \\
\multicolumn{3}{2}{description} \\
\includegraphics[]{} &
\includegraphics[]{} &
\includegraphics[]{} \\
...
I want LaTeX to split this between pages before \multicolumn
, not between \multicolumn
and \includegraphics
.
Is there possibility to do this or I should try another way?
I tried to use \multirow{3}{*}{ }
to stick rows together but it isn't work.
Standard longtable
documentation says that \\*
is "The same as \\
but disallows a page break after the row."
精彩评论