summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-dpfloat.html
blob: 8f9814bbb096bc43ca0579ed7a9f2d60fbd5f941 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<head>
<title>UK TeX FAQ -- question label dpfloat</title>
</head><body>
<h3>Facing floats on 2-page spread</h3>
<p/>If a pair of floats need to be forced to form a 2-page spread (in a
book, or whatever), the first must lie on the left side of the spread,
on an even-numbered page.  The <i>dpfloat</i> package provides for
this: the construction to use is:
<blockquote>
<pre>
\begin{figure}[p]
  \begin{leftfullpage}
    &#60;left side figure&#62;
  \end{leftfullpage}
\end{figure}
\begin{figure}[p]
  \begin{fullpage}
    &#60;right side figure&#62;
  \end{fullpage}
\end{figure}
</pre>
</blockquote><p>
The construction has no effect on documents with class option
<code>oneside</code> (<code>twoside</code> is the default for
<i>book</i> class).
<p/>A special case of this requirement places the caption for a float on
the next page.  (This is useful if you have a float that &#8220;only just&#8221;
fits the page.)  You can (with a certain amount of twiddling) make
this work with <i>dpfloat</i>, but the <i>fltpage</i> package is
specially designed for the job:
<blockquote>
<pre>
\documentclass[twoside]{article}
\usepackage[leftFloats]{fltpage}
\begin{document}
...
\begin{FPfigure}
  \includegraphics{my-huge-figure}
  \caption{Whew!  That was a big one!}
\end{FPfigure}
...
\end{document}
</pre>
</blockquote><p>
That example should produce a caption
<blockquote>
  Figure <em>n (facing page)</em>: Whew!  &#8230;
</blockquote><p>
(Note, however, that the package is an old one, and declares itself to
be a beta release.  I seems to work, but&#8230;)
<dl>
<dt><tt><i>dpfloat.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/dpfloat.zip">macros/latex/contrib/dpfloat</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/dpfloat/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/dpfloat.html">catalogue entry</a>
<dt><tt><i>fltpage.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/fltpage.zip">macros/latex/contrib/fltpage</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/fltpage/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/fltpage.html">catalogue entry</a>
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dpfloat">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dpfloat</a>
</body>