latex footnote

# latex footnote

Start LaTeX Topics

## Footnotes within a table

\usepackage{threeparttable}
\begin{threeparttable}
\begin{tabular}{|l|c|r|}
\hline
A & B & C \\
\hline
1 & 2 & 3 \tnote{1} \\
\hline
\end{tabular}
\begin{table notes}\footnotesize
\item[1] forecast 2003
\end{table notes}

The command \tnote{...} is used instead of \footnote{...}
 A B C 1 2 3 [1]

[1] forecast 2003 Alternatively, the usepackage tabularx can be used.

## Numbering

### manually numbering

Optionally, you can do the numbering by Hand, because the command \footnote the following Option has \footnote[number]{Text of footnote} for example, here is the footnote which would get the number 34 even though it is the first \footnote[34]{although none of the 33 are in front of it} .

### Counter types

It is possible to count the number of footnotes, with other characters other than numbers. For do so, the setting of the counter for the footnote has to be changed. This is done with
\renewcommand{\thefootnote}{\{footnote}}

For example, if you want to count with footnote symbols:
\renewcommand{\thefootnote}{\fnsymbol{footnote}}

 Counter Output fnsymbol footnote ★ arabic footnote 1 roman footnote i Roman footnote I alph footnote a Alph footnote A
footnote symbols are: 1★ 2† 3‡ 4§ 5¶ 6|| 7★★ 8†† 9‡‡

If you count more than 9 footnotes with symbols, you receive the following error message:

! LaTeX Error: Counter too large.

There is a maximum of 9 footnotes with symbols can be counted.

## Endnotes

With the package Endnotes in the footnotes are shown at the end of the document, instead of the pages where the footnote actually stand. To use it, there are several possibilities, one is the following.
\documentclass[10pt,a4paper,twocolumn, oneside]{article}
\usepackage{endnotes}
\begin{document}

By this command, you can still use the normal footnote command
\let\footnote=\endnote

Text Text\footnote{Text of footnote}
\ldots
The Endnotes are inserted into the document. And if you want to change the name of the endnotes:
\begingroup
\parindent 0pt
\parskip 2ex
\def\enotesize{\normalsize}
\theendnotes
\endgroup
\end{document}


## Verbatim within a footnote

With the usepackage fancyverb verbatim can be used within a footnote. After \begin{document} put following command \VerbatimFootnotes.
\documentclass[10pt,a4paper, oneside]{article}
\usepackage{fancyverb}
\begin{document}
\VerbatimFootnotes
Now\footnote{\verb+\LaTeX {}+} a footnote also could contain verbatim.

\end{document}


Contact