File: FAQ-ftncapt.html

package info (click to toggle)
tetex-base 3.0.dfsg.3-5
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 239,540 kB
  • ctags: 10,610
  • sloc: xml: 103,461; perl: 9,398; ruby: 2,850; python: 1,551; php: 1,067; sh: 981; lisp: 494; makefile: 371; awk: 88
file content (38 lines) | stat: -rw-r--r-- 1,915 bytes parent folder | download | duplicates (2)
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
<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>.
<p>So <em>as well as</em> using the optional argument of <code>\</code><code>caption</code> (or
whatever) to avoid the footnote migrating to the List of ..., and
putting the object whose caption bears the footnote in a minipage, 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.  If you're suffering the
problem, a well-constructed <code>\</code><code>caption</code> command in a <code>minipage</code>
environment within a float, such as:
<pre>
\begin{figure}
  \begin{minipage}{\textwidth}
    ...
    \caption[Caption for LOF]%
    {Real caption\footnote{blah}}
  \end{minipage}
\end{figure}
</pre>
can produce <em>two</em> copies of the footnote body "blah".  (In
fact, the effect occurs with captions that are long enough to require
two lines to be typeset, and so wouldn't appear with such a short
caption.)  The <i>ccaption</i> package's documentation 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.tar.gz">macros/latex/contrib/ccaption</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/ccaption.zip">zip</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ccaption/">browse</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>