Hi, I am using ltxtable to build a long table.
In the main file I have this line:
\LTXtable{\textwidth}{reviewtable.tex}
and the reviewtable.tex file looks like this:
\newcolumntype{Y}{>{\small\raggedright\arraybackslash}X}
\renewcommand{\arraystretch}{1.5}
\noindent
\begin{longtable}{|X|X|X|}
\caption{Summary of the literature review}
\hline
Reference & Description &Key points \\
\hline
\cite{W:1963p603} & some text & some text \\
\hline
\cite{W:1963p603} & some text & some text \\
\hline
\label{default}
\end{longtable}
I get the following list of errors:
Underfull \hbox (badness 10000) in paragraph at lines 66--67
[3] (/usr/local/texlive/2007/texmf-dist/tex/latex/base/omscmr.fd)
(./reviewtable.tex
! Misplaced \noalign.
\hline ->\noalign
{\ifnum 0=`}\fi \penalty \@M \futurelet \@let@token \LT@@h...
l.8 \hline
?
! Misplaced \omit.
\multispan ->\omit
\@multispan
l.9
?
! Extra alignment tab has been changed to \cr.
<template> \endtemplate
l.9
?
! Misplaced \noalign.
\hline ->\noalign
{\ifnum 0=`}\fi \penalty \@M \futurelet \@let@token \LT@@h...
l.13 \hline
etc.....
some suggestions?
Thanks,
Francesco
Graphics, Figures & Tables ⇒ ltx table error
ltx table error
Last edited by frnz65 on Mon Aug 02, 2010 10:08 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

ltx table error
Change
to
Code: Select all
\caption{Summary of the literature review}
Code: Select all
\caption{Summary of the literature review}\\
Re: ltx table error
Thanks!!!
it works
Francesco
it works
Francesco
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
ltx table error
As it is clearly written in the Board Rules, topics with a solved problem have to be marked accordingly by the OP.
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10