in LaTeX, I'd like to do something like the following:
\begin{samepage}
\begin{figure}
\caption{Bla bla 1}
\label{fig1}
\end{figure}
\begin{figure}
\caption{Bla bla 2}
\label{fig2}
\end{figure}
\end{samepage}
In words, I'd like to float the two figures together. I want to have
two figure, because I want seperate captions and labels.
The above construct doesn't give an error, but the figures don't
necessarily stoick together either.
Any solutions?
Thanks,
Fritz
\begin{figure}
pretty picture
\caption{Bla bla 1}
\label{fig1}
ugly picture
\caption{Bla bla 2}
\label{fig2}
\end{figure}
It is sometimes useful to use
\begin{figure}
\vbox to \textheight{% is there a LaTeX-syntax equivalent?
...
}
\end{figure}
Donald
|>
|> In words, I'd like to float the two figures together. I want to have
|> two figure, because I want seperate captions and labels.
|>
A quick solution (but this will of course apply to all of your document) is to
increase the fraction of a page that might be used for a figure:
\def\textfraction{.01}
\def\topfraction{.99}
Ralf.
--
Ralf Treinen | email: tre...@dfki.uni-sb.de
DFKI |
Stuhlsatzenhausweg 3 | phone: +49 681 302 5314
W-6600 Saarbruecken , Germany | fax: +49 681 302 5341
I used \psfig in the following way,
\begin{figure}[p]
\caption{Bla bla 1}
\label{fig1}
\vspace{10mm}
\caption{Bla bla 2}
\label{fig2}
\end{figure}
--
=====================================================================
G Zhang, Dept. of Computer Science JANET: guan...@uk.ac.hw.cs
Heriot-Watt University, Riccarton UUCP: guan...@hwcs.uucp
Edinburgh, Scotland, UK Tel: (031) 449 5111 x4177