TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know there are similar questions, but using \\* did not work for me.

What I want to achieve is that the last two rows of my table will be on the same page (and therefore no page break between them).

Please see the following example


        a & \lipsum[1] & c & d\\\hline
        a & \lipsum[1] & c & d\\\hline
        a & \lipsum[1] & c & d\\\hline

        \multicolumn{1}{|l}{\textbf{Total}} & \multicolumn{3}{r|}{\bf 0} \\* \hline
        \multicolumn{4}{l}{\small I need to be just below Total}        

which results in a page break between the last two rows.

Do you know why \\* isn't working? Am I using it in a wrong way?

share|improve this question
up vote 3 down vote accepted

\hline introduces an allowed breakpoint. It is possible to drop into internals and stop that but the easiest thing to do is put the last two rows in the last foot, ie put them at the start, marked with \endlastfoot

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.