3

Using the following I get problem by page break up.

\IfFileExists{FILE}{%
\begin{center}
\captionof{table}{Grenzwertverletzung [AL9]}
\begin{tabular}{ll}
 AL9&  \input{FILE} \\
\end{tabular}
\end{center}}{}


\IfFileExists{FILE}{%
\begin{center}
\captionof{table}{Caption is [AR07]}
\begin{tabular}{ll}
 AR07&  \input{FILE} \\
\end{tabular}
\end{center}}{}

enter image description here

1
  • I would just like to add that non-floating table will always cause you troubles, because they are too large and the pages will become "too empty" if you don't allow your table to float.
    – yo'
    Jan 4, 2013 at 15:00

1 Answer 1

8
\begin{minipage}{\textwidth}
\captionof{table}{Grenzwertverletzung [AL9]}
\begin{tabular}{ll}
 AL9&  \input{FILE} \\
\end{tabular}
\end{minipage}

will keep them together (but better really to use a table environment and let LaTeX move it away from the page break).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .