Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
    
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. –  tohecz Jan 4 '13 at 15:00
add comment

1 Answer

up vote 4 down vote accepted
\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).

share|improve this answer
add comment

Your Answer

 
discard

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.