I have a large table for my thesis that needs to be presented landscape and stretches over 2-3 pages, I have only included part of the table contents here.
My .tex file appears to compile without any problems but when I generate a pdf only part of the caption for this table is visible and only the first page of the table is produced. The table tail "Table continued on next page" is shown at the bottom of the table but on the next page it simply goes on to another/different table. The 'missing' part of the table does not appear anywhere else in the document.
I must be doing something wrong but I can't see what and have been struggling with this for hours so I really hope someone can help me with this.
Thank you in advance.
\clearpage
\begin{landscape}
\scriptsize
\tablefirsthead{
\hline
ID &RA (2000.0) &Dec (2000.0) &$J$ &$H$ &$K$ &Phot. type &Dist. &Spec. type &Kmatch &Dmatch &Letarte ID &$R-I$ &$CN-TiO$ &S/N\\
&$\mathrm{(deg)}$ &$\mathrm{(deg)}$ &$\mathrm{(mag)}$ &$\mathrm{(mag)}$ &$\mathrm{(mag)}$ & &(kpc) & & & & &$\mathrm{(mag)}$ &$\mathrm{(mag)}$ &\\
\hline}
\tablehead{
\hline
ID &RA &Dec &$J$ &$H$ &$K$ &Phot. type &Dist. &Spec. type &Kmatch &Dmatch &Letarte ID &$R-I$ &$CN-TiO$ &S/N\\
&$\mathrm{(deg)}$ &$\mathrm{(deg)}$ &$\mathrm{(mag)}$ &$\mathrm{(mag)}$ &$\mathrm{(mag)}$ & &(kpc) & & & & &$\mathrm{(mag)}$ &$\mathrm{(mag)}$ &\\
\hline}
\tabletail{
\hline
Table continued on next page.\\
\hline}
\tablelasttail{\hline}
\topcaption{List of $74$ candidate AGB sources in the inner region ($\leq 3$~kpc)
for which spectra with S/N~$\geq 10$ were obtained. In column 1 those sources with a
superscript reference number are in common with the catalogues of
$^{1}$ \citet{2006A&A...454..717K}, $^{2}$
\citet{2006A&A...456..905D}, $^{3}$ \citet{2013MNRAS.428.2216W} and
$^{4}$ \citet{2012A&A...537A.108K} (see Table \ref{specsID}). In column 6 sources marked with
a * were rejected from the photometric sample in Paper~I as they did not
meet their strict quality control criterion but nevertheless could
be classified by them. In column 8, source classifications preceded
by a `d' denote dwarf stars, `e' indicates the presence of H$\alpha$
in emission - many also show [S~II] and [N~II] (see
Sect. \ref{emissI}) - and a colon `:' indicates a tentative
classification. The horizontal line separates those C-type sources
misclassified as dK or dK7 by the matching program from the rest of
the sample. A further $11$ sources which showed high energy emission lines are listed in Table \ref{emissTab}.}
\label{spectratab1}
\begin{supertabular}{lllllllllllrlll}
157078 &296.117004 &-14.632751 &16.46 &15.59 &15.26 &M &1.77 &C: &C5.5 &C &87 &1.177 &0.371 &21\\
165127 &296.233887 &-14.671288 &17.14 &16.26 &16.01 &M &1.13 &C &C3.2 &C &459 &1.102 &0.356 &12\\
195133$^{1}$ &296.229034 &-14.781347 &17.61 &16.51 &15.94 &C* &0.20 &Ce: &dK7 &K0III &435 &1.39 &0.532 &22\\
195884$^{1}$ &296.213776 &-14.783867 &17.89 &17.08 &16.72 &M &0.26 &C &dK7 &K0IV &333 &1.247 &0.443 &22\\
\hline
198595$^{1}$ &296.257843 &-14.793209 &17.91 &17.14 &16.88 &M &0.19 &Ce: &dK7 &K0III &575 &1.218 &0.334 &19\\
199754$^{1}$ &296.208191 &-14.797331 &17.67 &16.91 &16.45 &C* &0.25 &Ce &dK7 &K0III &309 &1.138 &0.338 &16\\
200300 &296.184326 &-14.799191 &17.83 &17.03 &16.78 &M &0.44 &Ce: &dK7 &K4III &224 &1.104 &0.369 &15\\
\end{supertabular}
\end{landscape}
Best Answer
I think you can do what you want with
longtable
. I can use\small
rather thanscriptsize
. I add the captionpackage
for a correct vertical spacing between caption and table,makecell
to allow line breaks in columnheads with a commen formatting,cellspace
to have a less tight vertical spacing of rows (it ensures aminimal
vertical spacing above and below cells for columns whose specifier is prefixed withC
, thesiunitx
package for alignment of decimal comma in numerical columns, and finallythreeparttablex
to separate the table caption from the explanations.