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

Figure floats in multicol

19 views
Skip to first unread message

James Hobro

unread,
Jan 31, 1999, 3:00:00 AM1/31/99
to
Does anyone know of a neat way to include floats (specifically figures)
in a LaTeX2e `multicols' environment?

I am typesetting a paper using the multicol package (Abstract is full
width, rest of paper is in two columns expect for a few large figures)

I can successfully include two column-width figures using

\begin{figure*}
\includegraphics{<file>}
\caption{<caption>}
\end{figure*}

which is fine, but the only way I have managed to get single
column-width figures in is as follows

\begin{minipage}[b]{\linewidth}
\epsfig{figure=<file>}
\end{minipage}
\begin{center}
Figure <num>: <caption>
\end{center}
\addtocounter{figure}{1}

which is a bit messy, and won't allow me to use /ref to cite the single
column figures. Also of course, this is not a float, so it has to be
placed in exactly the right place.

Is there a neater way of doing this that will allow me to \label the
single column-width figures?

Many thanks in advance for any help.

J.H.


Axel Reichert

unread,
Feb 1, 1999, 3:00:00 AM2/1/99
to
James Hobro <ho...@esc.cam.ac.uk> writes:

> I am typesetting a paper using the multicol package (Abstract is full
> width, rest of paper is in two columns expect for a few large figures)

No need for multicol.sty. Use

\documentclass[twocolumn]{article}
...
\twocolumn[%
\begin{abstract}
Will be spanning the whole text width
\end{abstract}
]
Now your two-column text starts.

You can use figure and figure* for one resp. two column floats.

Happy TeXing!

--
Axel Reichert -- http://mt.mpie-duesseldorf.mpg.de/people/reich/

Donald Arseneau

unread,
Feb 1, 1999, 3:00:00 AM2/1/99
to
In article <36B4B4B9...@esc.cam.ac.uk>, James Hobro <ho...@esc.cam.ac.uk> writes...

>Does anyone know of a neat way to include floats (specifically figures)
>in a LaTeX2e `multicols' environment?

No. If one was obvious the authors of multicols would have
implemented it for regular {figure} environments.

>I am typesetting a paper using the multicol package (Abstract is full
>width, rest of paper is in two columns expect for a few large figures)

This layout can be done with the regular [twocolumn] option...
You should not give the [twocolumn] style option, but instead give
the \twocolumn command directly with the title and abstract in its
optional argument. But there is a trick you have to play:

\document style|class {article}
..
\begin{document}

\twocolumn[
\begin{@twocolumnfalse}

\maketitle
\begin{abstract}
...
\end{abstract}

\end{@twocolumnfalse}
]

Peter R. Wilson

unread,
Feb 1, 1999, 3:00:00 AM2/1/99
to James Hobro
James Hobro wrote:
>
> Does anyone know of a neat way to include floats (specifically figures)
> in a LaTeX2e `multicols' environment?
>
> I am typesetting a paper using the multicol package (Abstract is full
> width, rest of paper is in two columns expect for a few large figures)
>
> I can successfully include two column-width figures using
>
> \begin{figure*}
> \includegraphics{<file>}
> \caption{<caption>}
> \end{figure*}
>
> which is fine, but the only way I have managed to get single
> column-width figures in is as follows
>
> \begin{minipage}[b]{\linewidth}
> \epsfig{figure=<file>}
> \end{minipage}
> \begin{center}
> Figure <num>: <caption>
> \end{center}
> \addtocounter{figure}{1}
>
> which is a bit messy, and won't allow me to use /ref to cite the single
> column figures. Also of course, this is not a float, so it has to be
> placed in exactly the right place.
>
> Is there a neater way of doing this that will allow me to \label the
> single column-width figures?
>
> Many thanks in advance for any help.
>
> J.H.

1. Do you have to use multicols? You could try
\twocolumn[your single column title/abstract here]
two column stuff afterwards

2. If you use multicols then putting figures/tables in minipages is the
way to go, but also use the ccaption package for your captions inside
the minipage. This gives appropriately numbered captions that you can
\label. ccaption is on CTAN in
tex-archive/macros/latex/contrib/supported.

Peter W.
peter.r...@boeing.com

0 new messages