von weichold » Mo 18. Apr 2011, 19:53
Hi
hab Probleme mit Longtable
es soll vier Spalten geben, drei davon mit Zeilenumbruch, aber irgend wie klappt es nicht.
\begin{center}
\begin{longtable}{|c}|p{4cm}|p{4cm}||p{4cm}}
\caption{Übersetzungsvergleich} \\
\multicolumn{4}{c|p{4cm}|p{4cm}|p{4cm}}%
{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\
\hline \multicolumn{1}{|c|}{\textbf{Vers} &
\multicolumn{1}{p{4cm|}{\textbf{Triple chosen}} &
\multicolumn{1}{p{4cm|}{\textbf{Other feasible triples}}&
\multicolumn{1}{p{4cm|}{\textbf{Other feasible triples}} \\ \hline
\endhead
\hline \multicolumn{4}{|r|}{{Continued on next page}} \\ \hline
\endfoot
\hline \hline
\endlastfoot
...
\end{longtable}
\end{center}
Hi
hab Probleme mit Longtable
es soll vier Spalten geben, drei davon mit Zeilenumbruch, aber irgend wie klappt es nicht.
[code]\begin{center}
\begin{longtable}{|c}|p{4cm}|p{4cm}||p{4cm}}
\caption{Übersetzungsvergleich} \\
\multicolumn{4}{c|p{4cm}|p{4cm}|p{4cm}}%
{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\
\hline \multicolumn{1}{|c|}{\textbf{Vers} &
\multicolumn{1}{p{4cm|}{\textbf{Triple chosen}} &
\multicolumn{1}{p{4cm|}{\textbf{Other feasible triples}}&
\multicolumn{1}{p{4cm|}{\textbf{Other feasible triples}} \\ \hline
\endhead
\hline \multicolumn{4}{|r|}{{Continued on next page}} \\ \hline
\endfoot
\hline \hline
\endlastfoot
...
\end{longtable}
\end{center}
[/code]