I am input a file in my main latex file but the table (inputfiles contains a table) is too long to be on apage. How can I break it on two or main pages.
\usepackage{longtable} %%
\IfFileExists{file}{%
\begin{table}
\begin{center}
\caption{Grenzwertverletzung [st]}
\begin{tabular}{ll}
st& \input{file} \\
\end{tabular}
\end{center}
\end{table}
}{}
Best Answer
As mentioned in comments, using the
longtable
package looks like the way forward here. Standard LaTeX tables are box-like objects that cannot be spit across pages, so you need something likeTo deal with formatting, etc., we will need a full example of what you want and probably some demo data too. (The use of
\input
shouldn't make any difference to the situation.)