Fehlermeldung bei longtable: The control sequence at the ...
Verfasst: Do 24. Feb 2011, 15:50
Hallo,
Bei der Erstellung mit tabular erhalte ich eine Tabelle ohne Fehlermeldung. Das ist nicht der Fall mit longtable. Dabei erhalte ich die Fehlermeldung:
*********
! Undefined control sequence.
\adl@@cr ...tempdima \xdef \adl@rowsL {\adl@rowsL
(\adl@colsL /\number \adl@...
l.170 \hline
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
*********
Der Code, den ich verwende ist:
Hat jemand eine Ahnung, warum Latex eine Fehlermeldung angibt? Interessant ist, dass das pdf-File trotzdem erstellt wird (ich verwende TeXniCenter). Der oben erstellte Latex-code wird durch die Schnittstelle Sweave erstellt, das Tabellen aus dem Statistik-Programm in Latex-Tabellen umwandelt. Deshalb vermute ich, dass vieleicht eine Kontrolzeichen nicht mit longtable kompatibel ist.
Besten Dank
giordano
Bei der Erstellung mit tabular erhalte ich eine Tabelle ohne Fehlermeldung. Das ist nicht der Fall mit longtable. Dabei erhalte ich die Fehlermeldung:
*********
! Undefined control sequence.
\adl@@cr ...tempdima \xdef \adl@rowsL {\adl@rowsL
(\adl@colsL /\number \adl@...
l.170 \hline
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
*********
Der Code, den ich verwende ist:
{\small \begin{longtable}{llllll} \hline Patient & Gender & Birth date & Date & Exclusion & Reason \\ \hline GBGB7496 & female & 1960-06-05 & 2005-09-19 & yes & included \\ a & male & 1967-09-23 & 2007-01-23 & yes & included \\ b & female & 1962-09-20 & 1999-01-13 & yes & included \\ c & male & 1955-02-28 & 2007-08-16 & yes & included \\ .... g & male & 1974-11-09 & 2000-12-29 & no & prev. cases \\ h & male & 1965-11-11 & 2001-11-23 & no & prev. cases \\ i & male & 1959-04-24 & 1998-10-15 & no & prev. cases \\ j & male & 1977-03-23 & 2007-09-25 & no & prev. cases/last cont. is start haart \\ k & male & 1973-06-25 & 2007-03-28 & no & prev. cases/last cont. is start haart \\ \hline \hline \caption{Patient list} \label{tab:patient} \end{longtable} }
Besten Dank
giordano