summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mcfloat.html
blob: 8184f2d9ad3e238c3b80af1355ef3d1295a86663 (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&rsquo;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&rsquo;s <code>twocolumn</code> option).
<p/>It&rsquo;s possible to have single-column figures and tables with captions,
using the &lsquo;<code>[H]</code>&rsquo; placement option introduced by the <i>float</i>
package but you might have to fiddle with the placement because they
won&rsquo;t &lsquo;float&rsquo;, 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="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/float.zip">macros/latex/contrib/float</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/float.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/float/">browse</a>)
<dt><tt><i>multicol.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/tools.zip">macros/latex/required/tools</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/tools.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/">browse</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>