diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-04 23:39:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-04 23:39:21 +0000 |
commit | 16bfcc69400c93c3d779a104107606ae122a7dbe (patch) | |
tree | e2456232be21108418db974f47ea118eec770469 /Master/texmf-dist/doc/generic/FAQ-en/faq-t-g-wr.tex | |
parent | 9a8f00b89c2c1cd283f5fd0fb54959ef0690646f (diff) |
FAQ-en 3.22 (4may11)
git-svn-id: svn://tug.org/texlive/trunk@22304 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/faq-t-g-wr.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/faq-t-g-wr.tex | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/faq-t-g-wr.tex b/Master/texmf-dist/doc/generic/FAQ-en/faq-t-g-wr.tex index 6f6353a9ac1..7f1d6196a0d 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/faq-t-g-wr.tex +++ b/Master/texmf-dist/doc/generic/FAQ-en/faq-t-g-wr.tex @@ -1,4 +1,4 @@ -% $Id: faq-t-g-wr.tex,v 1.9 2011/02/08 22:17:17 rf10 Exp rf10 $ +% $Id: faq-t-g-wr.tex,v 1.11 2011/03/09 21:09:24 rf10 Exp rf10 $ \section{Things are Going Wrong\dots{}} @@ -115,12 +115,13 @@ away from where they were specified to appear. This is in fact perfectly ordinary document design; any professional typesetting package will float figures and tables to where they'll fit without violating the certain typographic rules. Even if you use the -placement specifier~\texttt{h} for `here', the figure or table will not be +placement specifier~''\texttt{h}'' (for `here'), the figure or table +will not be printed `here' if doing so would break the rules; the rules themselves are pretty simple, and are given on page~198, section~C.9 of the \LaTeX{} manual. In the worst case, \LaTeX{}'s rules can cause the floating items to pile up to the extent that you get an error message -saying \Qref*{``Too many unprocessed floats''}{Q-tmupfl}. +saying ``\Qref*{Too many unprocessed floats}{Q-tmupfl}''. What follows is a simple checklist of things to do to solve these problems (the checklist talks throughout about figures, but applies equally well to tables, or to ``non-standard'' floats defined by the @@ -129,16 +130,17 @@ equally well to tables, or to ``non-standard'' floats defined by the \item Do your figures need to float at all? If not, look at the recommendations for ``\Qref*{non-floating floats}{Q-figurehere}'' \item Are the placement parameters on your figures right? The - default (\texttt{tbp}) is reasonable, but you can reasonably change it (for - example, to add an \texttt{h}). Whatever you do, \emph{don't} - omit the `\texttt{p}': doing so could cause \LaTeX{} to believe that if you + default (``\texttt{tbp}'') is usually satisfactory, but you can + reasonably change it (for example, to add an ``\texttt{h}''). + Whatever you do, \emph{don't} + omit the ``\texttt{p}'': doing so could cause \LaTeX{} to believe that if you can't have your figure \emph{here}, you don't want it - \emph{anywhere}. (\LaTeX{} does try hard to avoid being confused in + \emph{anywhere}. (\LaTeX{} does try to avoid being confused in this way\dots{}) \item \LaTeX{}'s own float placement parameters could be preventing placements that seem entirely ``reasonable'' to you~--- they're notoriously rather conservative. To encourage \LaTeX{} not to move - your figure, you need to loosen its demands. (The most important + your figure, you may need to loosen its demands. (The most important ones are the ratio of text to float on a given page, but it's sensible to have a fixed set that changes the whole lot, to meet every eventuality.) @@ -161,7 +163,7 @@ equally well to tables, or to ``non-standard'' floats defined by the put a \csx{clearpage} command? If so, do: the backlog of floats is cleared after a \csx{clearpage}. (Note that the \csx{chapter} command in the standard \Class{book} and \Class{report} classes - implicitly executes \csx{clearpage}, so you can't float past + implicitly executes \csx{clearpage}, so your floats can't wander past the end of a chapter.) \item Try the \Package{placeins} package: it defines a \csx{FloatBarrier} command beyond which floats may not pass. A @@ -243,9 +245,11 @@ package is, in part, named) that underlines running text. Beware of \Package{ulem}'s default behaviour, which is to convert the \csx{emph} command into an underlining command; this can be avoided by loading the package with: +\begin{quote} \begin{verbatim} - \usepackage[normalem]{ulem} +\usepackage[normalem]{ulem} \end{verbatim} +\end{quote} Documentation of \Package{ulem} is in the package itself. \begin{ctanrefs} \item[ulem.sty]\CTANref{ulem} |