summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mcfloat.html
blob: 3000e5ab25e23c7c1a9b1eeadb994c971886007d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<head>
<title>UK TeX FAQ -- question label mcfloat</title>
</head><body>
<h3>Floats in multicolumn setting</h3>
<p/>If you use
<blockquote>
<pre>
\begin{figure}
  ...
\end{figure}
</pre>
</blockquote><p>
in a <code>multicols</code> environment, the figure won&#8217;t appear.  If
instead you use
<blockquote>
<pre>
\begin{figure*}
  ...
\end{figure*}
</pre>
</blockquote><p>
the figure will stretch right across the page (just the same as a
<code>figure*</code> in standard LaTeX&#8217;s <code>twocolumn</code> option).
<p/>It&#8217;s possible to have single-column figures and tables with captions,
using the &#8216;<code>[H]</code>&#8217; placement option introduced by the <i>float</i>
package but you might have to fiddle with the placement because they
won&#8217;t &#8216;float&#8217;, and exhibit other strange behaviours (such as silently
running off the end of the column at the end of the
<code>multicols</code> environment).
<dl>
<dt><tt><i>float.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/float.zip">macros/latex/contrib/float</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/float/">browse the directory</a>)
<dt><tt><i>multicol.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools.zip">macros/latex/required/tools</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/multicol.html">catalogue entry</a>
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=mcfloat">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=mcfloat</a>
</body>