Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LaTeX: how to force two figures onto the same (floating) page?

2,288 views
Skip to first unread message

fritz zaucker

unread,
Jul 30, 1992, 4:45:20 PM7/30/92
to

Hi there,

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

Donald Arseneau

unread,
Jul 31, 1992, 5:30:00 AM7/31/92
to
In article <FRITZZ.92J...@ko.ldgo.columbia.edu>,
fri...@lamont.ldgo.columbia.edu (fritz zaucker) wants two figures to float
together.

\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

Ralf Treinen

unread,
Jul 31, 1992, 9:24:42 AM7/31/92
to

|>
|> 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

Guanghua Zhang

unread,
Aug 3, 1992, 5:04:02 AM8/3/92
to
In article <FRITZZ.92J...@ko.ldgo.columbia.edu> fri...@lamont.ldgo.columbia.edu (fritz zaucker) writes:
>
>Hi there,
>
>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.
>

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

0 new messages