summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floatpages.html
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-22 23:51:44 +0000
committerKarl Berry <karl@freefriends.org>2009-05-22 23:51:44 +0000
commit566f5207d7e3cafb0633d31277067336ccd9cca7 (patch)
tree7af53e7ac405185168bc1dc38c4e820f442b78d0 /Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floatpages.html
parentb0beea26ffffd915bb6d9b82f2d65a0a05b7e23b (diff)
move generic english documents out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13396 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floatpages.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floatpages.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floatpages.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floatpages.html
new file mode 100644
index 00000000000..79c7a8812ec
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-floatpages.html
@@ -0,0 +1,33 @@
+<head>
+<title>UK TeX FAQ -- question label floatpages</title>
+</head><body>
+<h3>Floats on their own on float pages</h3>
+<p/>It&rsquo;s sometimes necessary to force a float to live on a page by itself.
+(It&rsquo;s sometimes even necessary for <em>every</em> float to live on a
+page by itself.) When the float fails to &lsquo;set&rsquo;, and waits for the end
+of a chapter or of the document, the natural thing to do is to declare
+the float as
+<blockquote>
+ <code>\</code><code>begin{figure}[p!]</code>
+</blockquote><p>
+but the overriding <code>!</code> modifier has no effect on float page floats; so
+you have to make the float satisfy the parameters.
+<a href="FAQ-floats.html">Moving tables and figures</a> offers some
+suggestions, but doesn&rsquo;t solve the one-float-per-page question.
+<p/>The &lsquo;obvious&rsquo; solution, using the counter <code>totalnumber</code>
+(&ldquo;total number of floats per page&rdquo;) doesn&rsquo;t work:
+<code>totalnumber</code> only applies to floats on &lsquo;text&rsquo; pages (pages
+containing text as well as one or more float). So, to allow any
+size float to take a whole page, set <code>\</code><code>floatpagefraction</code> really
+small, and to ensure that no more than one float occupies a page, make
+the separation between floats really big:
+<blockquote>
+<pre>
+\renewcommand\floatpagefraction{.001}
+\makeatletter
+\setlength\@fpsep{\textheight}
+\makeatother
+</pre>
+</blockquote><p>
+<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floatpages">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floatpages</a>
+</body>