[latexrefman-commits] r451 - in /trunk: ChangeLog latex2e.texi

jhefferon at domain.hid jhefferon at domain.hid
Sun Oct 4 18:36:45 CEST 2015


Author: jhefferon
Date: Sun Oct  4 18:36:44 2015
New Revision: 451

URL: http://svn.gna.org/viewcvs/latexrefman?rev=451&view=rev
Log:
more footontes

Modified:
    trunk/ChangeLog
    trunk/latex2e.texi

Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=451&r1=450&r2=451&view=diff
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Sun Oct  4 18:36:44 2015
@@ -1,3 +1,8 @@
+2015-10-04  Jim Hefferon  <jhefferon at domain.hid>
+
+	* latex2e.texi (Footnotes in a table): Provide examples.
+	Fold minipage discussion into opening.
+
 2015-10-03  Jim Hefferon  <jhefferon at domain.hid>
 
 	* latex2e.texi (Footnotes, Footnotes in a table): Provide examples.

Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=451&r1=450&r2=451&view=diff
==============================================================================
--- trunk/latex2e.texi	(original)
+++ trunk/latex2e.texi	Sun Oct  4 18:36:44 2015
@@ -384,7 +384,7 @@
 @cindex pdf at domain.hid{} engine
 @findex etex @r{command}
 @cindex e- at domain.hid{}
-In @TeX{} Live (@url{http://tug.org/texlive}, if @LaTeX{} is invoked
+In @TeX{} Live (@url{http://tug.org/texlive}), if @LaTeX{} is invoked
 via either the system command @command{latex} or @command{pdflatex},
 then the pdf at domain.hid{} engine is run (@url{http://ctan.org/pkg/pdftex}).
 When invoked as @command{latex}, the main output is a @file{.dvi}
@@ -4586,12 +4586,12 @@
 Place a numbered footnote at the bottom of the current page as here.
 
 @example
-Noel Coward stated that having to read footnotes resembles having to go 
-downstairs to answer the door, while making 
-love.\footnote at domain.hid truth, it doesn't resemble it all that much.@}
- at domain.hid example
-
-You can place multiple footnotes on a page; if the text becomes too long
+Noel Coward quipped that having to read footnotes resembles having to go 
+downstairs to answer the door, while making love.\footnote at domain.hid wouldn't know; 
+I've never read a footnote.@}
+ at end example
+
+You can place multiple footnotes on a page. If the text becomes too long
 it will flow to the next page.
 
 You can also produce footnotes by combining the @code{\footnotemark} and
@@ -4602,7 +4602,6 @@
 * \footnote::                Insert a footnote.
 * \footnotemark::            Insert footnote mark only.
 * \footnotetext::            Insert footnote text only.
-* Footnotes in a minipage::  Minipage footnotes.  
 * Footnotes in a table::     Table footnotes.  
 * Footnote parameters::      Parameters for footnote formatting.
 @end menu
@@ -4645,11 +4644,19 @@
 @code{\setcounter at domain.hid@}}.  By default @LaTeX{} uses arabic
 numbers.
 
-You cannot use @code{\footnote} in an argument to a sectioning command
-such as @code{\chapter}, or in figures, tables or in a @code{tabular}
-environment (it can only be used in outer paragraph mode).  There are
-some workarounds; see following sections.
+ at LaTeX{}'s default puts many restrictions on where you can use a
+ at code{\footnote}; for instance, you cannot use it in an argument to a
+sectioning command such as @code{\chapter} (it can only be used in outer
+paragraph mode).  There are some workarounds; see following sections.
 @c xx mention packages that fix this
+
+ at cindex Footnotes, in a minipage
+ at cindex mpfootnote counter
+In a @code{minipage} environment the @code{\footnote}
+command uses the @code{mpfootnote} counter instead of the
+ at code{footnote} counter, so they are numbered independently.  They are
+shown at the bottom of the environment, not at the bottom of the page.
+And by default they are shown alphabetically. @xref{minipage}.
 
 
 @node \footnotemark
@@ -4697,33 +4704,44 @@
 The optional argument @var{number} changes the default footnote number.
 
 
- at domain.hid Footnotes in a minipage
- at domain.hid Footnotes in a minipage
-
- at domain.hid Footnotes, in a minipage
- at domain.hid mpfootnote counter
-
-Inside a @code{minipage} environment the @code{\footnote} command uses
-the @code{mpfootnote} counter instead of the @code{footnote} counter, so
-they are numbered independently.  They are shown at the bottom of the
-environment, not at the bottom of the page.  And, by default they are
-shown alphabetically.
-
-You can change the alphabetic appearance with something like
- at domain.hid@}@}}
-(@pxref{\alph \Alph \arabic \roman \Roman \fnsymbol}).
-
-
 @node Footnotes in a table
 @section Footnotes in a table
 
 @cindex Footnotes, in a table
 
 Inside a @code{table} environment the @code{\footnote} command does not
-work.  The solution is to use the @file{tablefootnote} package, as
-illustrated in this example.  If you put
- at domain.hid@}} in the preamble and use the code
-shown then the footnote appears at the bottom of the page, numbered in
+work.  For instance, if the code below appears on its own then the
+footnote simply disappears; there is a footnote mark in the table cell
+but nothing is set at the bottom of the page.
+
+ at example
+\begin at domain.hid@}
+     \begin at domain.hid@}
+     \textsc at domain.hid@}  &\textsc at domain.hid@} \\ \hline 
+     \textit at domain.hid Sophie@}     &Master and Commander  \\ 
+     \textit at domain.hid Polychrest@} &Post Captain  \\  
+     \textit at domain.hid Lively@}     &Post Captain \\
+     \textit at domain.hid Surprise@}   &A number of books\footnote at domain.hid with HMS Surprise.@}
+     \end at domain.hid@}
+\end at domain.hid@}
+ at end example
+
+The solution is to surround the @code{tabular} environment with a
+ at code{minipage} environment, as here (@pxref{minipage}).
+
+ at example
+\begin at domain.hid@}
+  \begin at domain.hid@}
+    .. tabular material ..
+  \end at domain.hid@}
+\end at domain.hid@}
+ at end example
+
+The same technique will work inside a floating @code{table} environment
+(@pxref{table}).  To get the footnote at the bottom of the page use the
+ at file{tablefootnote} package, as illustrated in this example.  If you
+put @code{\usepackage at domain.hid@}} in the preamble and use the code
+shown then the footnote appears at the bottom and is numbered in
 sequence with other footnotes.
 
 @example
@@ -4733,7 +4751,7 @@
      \textsc at domain.hid@}  &\textsc at domain.hid@} \\ \hline 
      1862           &Fort Donelson \\ 
      1863           &Vicksburg     \\  
-     1865           &Army of Northern Virginia\footnote at domain.hid the war@}
+     1865           &Army of Northern Virginia\footnote at domain.hid the war.@}
      \end at domain.hid@}
     \caption at domain.hid captured by US Grant@}
 \end at domain.hid@}





More information about the latexrefman-commits mailing list