[Tex/LaTex] Table captions continued

captionslongtabletables

I am writing an article which has a long table with many rows. I would like to divide this table for multiple pages but I can not change the captions of these tables like "Table 1: Blablabla" and for the second page "Table 1 Continued: Blablabla" and so on. My MWE and its output.

I want to remove "Continued" from pages after the first.

\documentclass{article}

\usepackage[left=2.5cm,top=2.5cm,right=2.5cm,bottom=2.5cm,bindingoffset=0.1cm]{geometry}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{booktabs}
\usepackage[font=small,labelfont=bf]{caption}

\begin{document}

\begin{table}[!htb]
\centering
\caption {Some Members of the Suggested Estimator}
\label{Tab:1}
\smallskip
\begin{tabular}{c  c  c }
\toprule
A subset of $\overline{y}_{NH}$ & $\textbf{a}$ & $\textbf{b}$\\
\midrule
test1 & 1 & 0 \\
\midrule
test2 & 1 & 1 \\
\midrule
test3 & \newline 1 & \newline $\beta_{2} \left(x\right)$ \\
\bottomrule
\end{tabular}
\end{table}

\begin{table}[!htbp]
\centering
\caption* {\textbf{Table 1 Continued:} Blablabla}
\smallskip
\begin{tabular}{c  c  c }
\toprule
A subset of $\overline{y}_{NH}$ & $\textbf{a}$ & $\textbf{b}$\\
\midrule
test4 & $C_{x} $ & $\rho_{yx} $ \\
\midrule
test5 & $\rho _{yx} $ & $C_{x} $ \\
\midrule
test6 & $\rho _{yx} $ \\
\bottomrule
\end{tabular}
\end{table}

\end{document}

enter image description here

Can anyone help me about it?

Best Answer

The package longtable allows you to define

  1. a header for the first page by \endfirsthead
  2. a header for all next pages by \endhead
  3. a footer fo all pages expect the last one by \endfoot
  4. a footer for the last page by \endlastfoot.

In your case you can do:

\documentclass{article}

\usepackage[paper=a6paper]{geometry}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage[font=small,labelfont=bf]{caption}

\begin{document}

\begin{longtable}{ccc}
\caption {Some Members of the Suggested Estimator}\label{Tab:1}\\\toprule
\endfirsthead
\caption* {\textbf{Table \ref{Tab:1} Continued:} Blablabla}\\\toprule
\endhead
\endfoot
\bottomrule
\endlastfoot
A subset of $\overline{y}_{NH}$ & $\textbf{a}$ & $\textbf{b}$\\
\midrule
test1 & 1 & 0 \\
\midrule
test2 & 1 & 1 \\
\midrule
test3 & \newline 1 & \newline $\beta_{2} \left(x\right)$ \\
\midrule
A subset of $\overline{y}_{NH}$ & $\textbf{a}$ & $\textbf{b}$\\
\midrule
test4 & $C_{x} $ & $\rho_{yx} $ \\
\midrule
test5 & $\rho _{yx} $ & $C_{x} $ \\
\midrule
test6 & $\rho _{yx} $ \\
A subset of $\overline{y}_{NH}$ & $\textbf{a}$ & $\textbf{b}$\\
\midrule
test1 & 1 & 0 \\
\midrule
test2 & 1 & 1 \\
\midrule
test3 & \newline 1 & \newline $\beta_{2} \left(x\right)$ \\
\midrule
A subset of $\overline{y}_{NH}$ & $\textbf{a}$ & $\textbf{b}$\\
\midrule
test4 & $C_{x} $ & $\rho_{yx} $ \\
\midrule
test5 & $\rho _{yx} $ & $C_{x} $ \\
\midrule
test6 & $\rho _{yx} $ \\
\end{longtable}

\end{document}

enter image description here enter image description here