6

I used package longtable for make table in mamy pages.

With package supertabular we have \topcaption for caption on the top of table.

I can't use \topcaption in \begin{longtable} \end{longtable} .

Help me put caption on the top of the table.

1 Answer 1

9
\begin{longtable}{...}
\caption{...}\\   % it is internally like \multicolumn
... the tabular rows ...
\end{longtable}
3
  • Can i write \caption{} \\ \hline ?
    – user41499
    Commented Nov 26, 2013 at 8:48
  • @user41499 yes did you try it? as in a normal table environment \caption can go anywhere, at the top at the bottom or somewhere in the middle. Commented Nov 26, 2013 at 10:25
  • 2
    @user41499: \caption is like \multicolumn and must end with a \` which, of course can have a \hline` or whatever which is allowed for tabular line ends.
    – user2478
    Commented Nov 27, 2013 at 11:09

You must log in to answer this question.

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