My long table extends one more column after the last row and is not smooth. What am I missing?


\caption{sample table with extra lines} \\
\textbf{ID} & \textbf{symbol} \\ \hline
100505607 & LOC100505607\\ \hline
100506282 & unknown \\ \hline
100506342 & unknown \\ \hline

1 Answer 1


\label needs to be inside the \caption argument (or in a later table cell), but not, as in the posted code, in a cell on its own on the last row, otherwise longtable will generate a spurious last row to hold the write node.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .