summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/placeins
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-22 23:38:45 +0000
committerKarl Berry <karl@freefriends.org>2010-09-22 23:38:45 +0000
commite016bf83bcc9c65bc698b62c7732213f3b246b39 (patch)
treee1070a78026f9d6fc5c56f94c2f60649971596ec /Master/texmf-dist/doc/latex/placeins
parenta00e0bf12a86e6a60a3076a11a70112df8e8f37f (diff)
placeins doc (22sep10)
git-svn-id: svn://tug.org/texlive/trunk@19848 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/placeins')
-rw-r--r--Master/texmf-dist/doc/latex/placeins/placeins-doc.pdfbin0 -> 255447 bytes
-rw-r--r--Master/texmf-dist/doc/latex/placeins/placeins-doc.tex75
2 files changed, 75 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/placeins/placeins-doc.pdf b/Master/texmf-dist/doc/latex/placeins/placeins-doc.pdf
new file mode 100644
index 00000000000..a9432ecf78d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/placeins/placeins-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/placeins/placeins-doc.tex b/Master/texmf-dist/doc/latex/placeins/placeins-doc.tex
new file mode 100644
index 00000000000..1514bf88260
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/placeins/placeins-doc.tex
@@ -0,0 +1,75 @@
+\documentclass[pagesize=auto, fontsize=12pt, DIV=9, parskip=half]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{etex}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
+\newcommand*{\pkg}[1]{\textsf{#1}}
+\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
+\makeatletter
+\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
+\makeatother
+\newcommand*{\opt}[1]{\texttt{#1}}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \pkg{placeins} package\thanks{This manual corresponds to \pkg{placeins.sty}~ver~2.2, dated~April 18, 2005.}}
+\author{Donald Arseneau\thanks{\mail{asnd@triumf.ca}}}
+\date{April 18, 2005}
+
+
+\begin{document}
+
+\maketitle
+
+\begin{sloppypar}
+ \pkg{Placeins.sty} keeps floats `in their place', preventing them from floating
+ past a ``\cmd{\FloatBarrier}'' command into another section. To use it, declare
+ ``\verb+\usepackage{placeins}+'' and insert ``\cmd{\FloatBarrier}'' at places that floats
+ should not move past, perhaps at every ``\cmd{\section}''.
+\end{sloppypar}
+
+
+\minisec{Option: \opt{[section]}}
+
+\begin{sloppypar}
+ A more convenient way to stop floats at section boundaries is to change
+ the definition of ``\cmd{\section}'' to include ``\cmd{\FloatBarrier}'', either at the
+ beginning, before ``\cmd{\@startsection}'', or in the `style' specification (see
+ The \LaTeX\ Companion, section~2.2.2; or~2.3 in the 1st ed). If you specify
+ ``\verb+\usepackage[section]{placeins}+'', then the ``\cmd{\section}'' command will be
+ redefined with ``\cmd{\FloatBarrier}'' inserted at the beginning.
+\end{sloppypar}
+
+
+\minisec{Options: \opt{[above]} \opt{[below]}}
+
+Something you may not like is that, by default, ``\cmd{\FloatBarrier}'' is very
+strict, and will (try to) prevent a float from appearing above the start
+of the current section or below the start of the next section, even
+though the float is still on the same page as its intended section.
+Each restriction can be relaxed separately by using the ``\opt{[above]}'' and
+``\opt{[below]}'' package options: ``\opt{[above]}'' allows floats to appear above their
+section, if on the same page; ``\opt{[below]}'' allows below.
+
+NOTE! The original version of \pkg{placeins.sty} acted like it was loaded
+with the option ``\opt{[above]}'' specified.
+
+There is a problem with \LaTeX's ``\cmd{\suppressfloats}'' being out of step with
+the page breaking (see usenet msg \texttt{<yfi656pbsn0.fsf@triumf.ca>} and thread)
+which sometimes allows a float to go above a ``\cmd{\FloatBarrier}'' placed near
+the top of a page. Maybe \pkg{placeins} will fix it sometime later.
+
+
+\minisec{Option: \opt{[verbose]}}
+
+There is a package option ``\opt{[verbose]}'' that causes many messages to be
+written in the log file. It might be used to answer the question:
+`How did \emph{that} get \emph{there}?!?'
+
+\end{document}