Tim Schröder wrote:

After i managed to rotate my tables. Every seemed to be fine.
But unfortunatly i ran into the next problem.

If i rotate my longtables with the landscape mode, i cannot attach any caption to them because they are not in float environments anymore. If i put them into floats they loose their "long-property" somehow.

it is a longtable which shouldn't be placed inside a float. And a longtable can have its own caption, but LyX does not support this. :-( The best way is to export LyX to LaTeX, copy only the table part into an own file (longtable.tex), then insert the caption into the longtable, e.g.

\begin{longtable}{|c|l|c|l|l|}\hline
1 & \textbf{Spalte 2} & \textbf{Spalte 3} & \textbf{Spalte 4}& \textbf{Spalte 5}\\\hline
\caption{TV-Evaluierung der Modelle}\label{TV-Evaluierung der Modelle}
\end{longtable}



Inside LyX import this file with Insert->Include File with Type input and in Layout-Y Document->Preamble write \usepackage{longtable}

Then all should work well.

Herbert




Reply via email to