diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ftncapt.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ftncapt.html | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ftncapt.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ftncapt.html new file mode 100644 index 00000000000..a8014a080f6 --- /dev/null +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-ftncapt.html @@ -0,0 +1,53 @@ +<head> +<title>UK TeX FAQ -- question label ftncapt</title> +</head><body> +<h3>Footnotes in captions</h3> +<p>Footnotes in captions are especially tricky: they present problems of +their own, on top of the problems one experiences with +<a href="FAQ-ftnsect.html">footnotes in section titles</a> and with +<a href="FAQ-footintab.html">footnotes in tables</a>. Fortunately, the +requirement for footnotes in captions is extremely rare: if you are +experiencing problems, it is worth reviewing what you are trying to +say by placing this footnote. Note that the <i>threeparttable</i> +scheme (see, again, +<a href="FAQ-footintab.html">footnotes in tables</a>) also applies +to notes in captions, and may very well be preferable to whatever you +were thinking of. +<p>If you <em>are</em> going to proceed: +<ul> +<li> use an optional argument in your <code>\</code><code>caption</code> command, that + doesn't have the footnote in it; this prevents the footnote + appearing in the "List of ...", and +<li> put your whole float in a <code>minipage</code> so as to keep + the footnotes with the float. +</ul> +so we have: +<blockquote> +<pre> +\begin{figure} + \begin{minipage}{\textwidth} + ... + \caption[Caption for LOF]% + {Real caption\footnote{blah}} + \end{minipage} +\end{figure} +</pre> +</blockquote> +However, <em>as well as</em> all of the above, one <em>also</em> has to +deal with the tendency of the <code>\</code><code>caption</code> command to produce the +footnote's text twice. For this last problem, there is no tidy +solution this author is aware of. +<p>If you're suffering the problem, a well-constructed <code>\</code><code>caption</code> +command in a <code>minipage</code> environment within a float (as +in the example above) can produce <em>two</em> copies of the footnote +body "blah". (In fact, the effect only occurs with captions that are +long enough to require two lines to be typeset, and so wouldn't appear +with such a short caption.) +<p>The documentation of the <i>ccaption</i> package describes a really +rather awful work-around. +<dl> +<dt><tt><i>ccaption.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ccaption.zip">macros/latex/contrib/ccaption</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ccaption.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ccaption/">browse</a>) +<dt><tt><i>threeparttable.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/misc/threeparttable.sty">macros/latex/contrib/misc/threeparttable.sty</a> +</dl> +<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ftncapt">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ftncapt</a> +</body> |