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

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. – yo' Jan 4 '13 at 15:00
up vote 5 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

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.