<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF">
<div>Thanks all but muliticol will only handle double-width floats and so doesn't satisfy my needs.<br>
<br>
</div>
<div>I'll stick to my workaholic and see if it spawns problems elsewhere.</div>
<div><br>
</div>
<div>Cheers</div>
<div>Steve<br>
-----------
<div>Steve Schwartz
<div>Space and Atmospheric Physics</div>
<div>Imperial College London</div>
<div>Tel 020 7594 7660</div>
</div>
</div>
<div><br>
On 30 Nov 2011, at 05:15, "Hubert Lam" <<a href="mailto:hubert@lamfamily.info">hubert@lamfamily.info</a>> wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Sorry, needs package varioref as well – add \usepackage{varioref} to the preamble :p<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Hubert Lam
<br>
<b>Sent:</b> Wednesday, November 30, 2011 4:15 PM<br>
<b>To:</b> 'Steve Schwartz'<br>
<b>Cc:</b> <a href="mailto:texhax@tug.org"></a><a href="mailto:texhax@tug.org">texhax@tug.org</a><br>
<b>Subject:</b> RE: [texhax] double column section headers?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">Hi again Steve<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Do you absolutely need the figure/float "HERE" (\begin{figure}[H])?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">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?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\usepackage{pstricks-add} % for \psLoop
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\begin{document}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\begin{multicols}{2}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\psLoop{100}{Testing }<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">Figure \vref{fig1}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\begin{figure*}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\begin{center}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\fbox{\textbf{Hello!}}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\end{center}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\caption{Testing as well} \label{fig1}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\end{figure*}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\psLoop{100}{Lorem ipsum }<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\end{multicols}<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:Consolas">\end{document}<o:p></o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hubert<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> <span lang="EN-US">-----Original Message-----</span><o:p></o:p></p>
<p class="MsoPlainText">> <span lang="EN-US">From: Steve Schwartz <a href="mailto:[mailto:s.schwartz@imperial.ac.uk]">
[mailto:s.schwartz@imperial.ac.uk]</a></span><o:p></o:p></p>
<p class="MsoPlainText">> <span lang="EN-US">Sent: Tuesday, November 29, 2011 10:57 PM</span><o:p></o:p></p>
<p class="MsoPlainText">> <span lang="EN-US">To: Hubert Lam</span><o:p></o:p></p>
<p class="MsoPlainText">> <span lang="EN-US">Cc: <a href="mailto:texhax@tug.org">
</a><a href="mailto:texhax@tug.org">texhax@tug.org</a></span><o:p></o:p></p>
<p class="MsoPlainText">> <span lang="EN-US">Subject: Re: [texhax] double column section headers?</span><o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Hubert,<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> On Tue, 2011-11-29 at 07:37 +0000, Hubert Lam wrote:<o:p></o:p></p>
<p class="MsoPlainText">> > Hi Steve<o:p></o:p></p>
<p class="MsoPlainText">> ><o:p></o:p></p>
<p class="MsoPlainText">> > Have you tried the multicol package?<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Yes, your example works, but you can't put a figure (float) inside a multicol,<o:p></o:p></p>
<p class="MsoPlainText">> so:<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> \begin{multicols}{2}<o:p></o:p></p>
<p class="MsoPlainText">> Stuff in<o:p></o:p></p>
<p class="MsoPlainText">> \begin{figure}\fbox{figure here}\caption{fig cap}\end{figure}<o:p></o:p></p>
<p class="MsoPlainText">> \columnbreak Two columns \end{multicols}<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> generates the warning:<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Package multicol Warning: Floats and marginpars not allowed inside<o:p></o:p></p>
<p class="MsoPlainText">> `multicols' environment!.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> This is a documented "feature" of multicols.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Best wishes<o:p></o:p></p>
<p class="MsoPlainText">> Steve<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
</div>
</div>
</div>
</blockquote>
</body>
</html>