I'm typesetting my dissertation using Springer's svmono
class. The class defines its own formatting of table and figure captions. I have a couple of multipage tables which I typesetted using longtable package, which has its own \caption
command which is different than the one imposed by the class (longtable
uses default formatting of the article class). I'm trying to make the caption formatting consistent, without success so far.
I had a look at LaTeX Companion, but the only information I found there states that
[with the caption package] it is easy to customize longtable and table captions, keeping the style of captions consistent between those two environments.
I don't find it easy.
Here is a toy example of what I'm looking for.
Link to the class svmonomb
\documentclass{svmonomb}
\usepackage{longtable}
\begin{document}
I would like to have the longtable version \ref{longtable} look like
the ``normal'' version \ref{table}.
\bigskip
\begin{table}
\centering
\begin{tabular}{rrrrrrrrr}
1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1
\end{tabular}
\caption{Caption of the normal \texttt{table} environment.}
\label{table}
\end{table}
\begin{longtable}{rrrrrrrrr}
1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\
\caption{Caption of the \texttt{longtable} environment.}
\label{longtable}
\end{longtable}
\end{document}
svmono
seems to live here: springer.com/authors/book+authors?SGWID=0-154102-12-417900-0svmono
a little bit here is my modified version (bojan.3e.pl/etc/svmonomb.cls).\caption
commands. The problem is that the captions in the longtable package are different animals than the captions defined in, say, article class. I believe they are kind of\multicolumn
commands. I'll try to post a small example in a moment.