[texhax] double column section headers?

Hubert Lam hubert at lamfamily.info
Wed Nov 30 06:15:18 CET 2011

Sorry, needs package varioref as well - add \usepackage{varioref} to the preamble :p

From: Hubert Lam
Sent: Wednesday, November 30, 2011 4:15 PM
To: 'Steve Schwartz'
Cc: texhax at tug.org
Subject: RE: [texhax] double column section headers?

Hi again Steve

Do you absolutely need the figure/float "HERE" (\begin{figure}[H])?

If not, the starred version works, but places it outside of the multicols, most likely on the next page. It seems that this would be the solution I would use, though others may have another (more elegant) solution?

\usepackage{pstricks-add} % for \psLoop



\psLoop{100}{Testing }

Figure \vref{fig1}





\caption{Testing as well} \label{fig1}


\psLoop{100}{Lorem ipsum }




> -----Original Message-----

> From: Steve Schwartz [mailto:s.schwartz at imperial.ac.uk]<mailto:[mailto:s.schwartz at imperial.ac.uk]>

> Sent: Tuesday, November 29, 2011 10:57 PM

> To: Hubert Lam

> Cc: texhax at tug.org<mailto:texhax at tug.org>

> Subject: Re: [texhax] double column section headers?


> Hubert,


> On Tue, 2011-11-29 at 07:37 +0000, Hubert Lam wrote:

> > Hi Steve

> >

> > Have you tried the multicol package?


> Yes, your example works, but you can't put a figure (float) inside a multicol,

> so:


> \begin{multicols}{2}

>  Stuff in

>   \begin{figure}\fbox{figure here}\caption{fig cap}\end{figure}

> \columnbreak  Two columns \end{multicols}


> generates the warning:


> Package multicol Warning: Floats and marginpars not allowed inside

> `multicols' environment!.


> This is a documented "feature" of multicols.


> Best wishes

> Steve


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20111130/00e11bf4/attachment-0001.html>

More information about the texhax mailing list