! LaTeX Error: Not in outer par mode.
Since I want labels, tabular alone isn't enough.
Is there an obvious solution?
Donal.
===============================================================
Donal Lyons, Tel: +353-1-702 1919
Lecturer (Information Systems) Msgs: +353-1-702 1767
Department of Statistics, Times: 1000 - 1700 GMT
Trinity College, FAX: on request
Dublin 2,
Ireland.
> I've two labelled tables that I want to keep together, so it seemed
> likea good idea to put them into minipage. The minipage is happy
> enough with tabular but objects to a table environment:
>
> ! LaTeX Error: Not in outer par mode.
I think you have to do it the other way around; i.e. put the minipage
environment inside the table. Also, remember that it is the \caption
that defines a new figure/table, not the figure/table environment. So
you could do something like this:
\begin{table}
\begin{minipage}{\textwidth}
\begin{center}
\begin{tabular}{l|l}
bla & bla
\end{tabular}
\caption{bla bla 1}
\end{center}
\begin{center}
\begin{tabular}{r|r}
ble & ble
\end{tabular}
\caption{bla bla 2}
\end{center}
\end{minipage}
\end{table}
Actually, I'm pretty sure that it would work the way you want even
without the minipage, because LaTeX always places the whole contents
of a table environment together.
Cheers,
--Diego