8

I have a long table in LATEX, where is not visible completely in a page.

I want to shift a percentage of a table into the next page. e.g., 70% of the table in the current page and remained 30% in the next page.

How is it possible in LATEX?

2
  • 2
    What does your table contain? Big paragraph texts? If not, you could use longtable that allows breaking across pages between rows (not mid-row though).
    – Werner
    Sep 4, 2013 at 19:49
  • Thank you friend! How can i shift caption of the table from bottom of the table to over? when I use \caption{} immediately after \begin{longtable}, it gives error.
    – BlueBit
    Sep 7, 2013 at 9:48

1 Answer 1

10

You can move material to the next page with \pagebreak.

Part on page 1:

Page 1

Part on page 2:

Page 2

\documentclass{article}

\usepackage{longtable}

\begin{document}

\begin{longtable}{lr}
  \caption{A sample long table}\\
  \hline
  Left&Right\\
  \hline
  \endhead
  X&Y\\
  A&B\\
  \pagebreak
  C&D
\end{longtable}

\end{document}

Note that you need \\ after the \caption{...} command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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