| 1 |
\documentclass[a4paper]{article} |
| 2 |
\usepackage[dvips,a4paper]{geometry} |
| 3 |
\providecommand\cs[1]{\texttt{\char`\\#1}} |
| 4 |
\begin{document} |
| 5 |
\title{The \texttt{fixfoot} package\thanks{This is version 0.3a, of |
| 6 |
2007-12-12}} |
| 7 |
\author{Robin Fairbairns} |
| 8 |
\maketitle |
| 9 |
|
| 10 |
\section{What is it for?} |
| 11 |
|
| 12 |
When editing an edition of my father's letters, after his death, I |
| 13 |
found I was making the same comment, in footnotes, rather a lot. (For |
| 14 |
example, he had a way of mis-spelling, or jumbling words for comic |
| 15 |
effect; to point out that these \emph{weren't} transcription errors, I |
| 16 |
marked them all with a footnoted ``\emph{Sic}''.) |
| 17 |
|
| 18 |
Since these footnotes made tedious reading at the best of times, and |
| 19 |
since sometimes those ``sic'' footnotes appeared several times on one |
| 20 |
page, I conceived the idea of this package: it ensures that a |
| 21 |
particular (pre-declared) footnote will only appear once on any page. |
| 22 |
|
| 23 |
\section{Using the thing} |
| 24 |
|
| 25 |
The package defines only one command, \cs{DeclareFixedFootnote}; this |
| 26 |
declares a footnote to be repeated. Apart from an optional |
| 27 |
\texttt{*}, it takes two arguments: the command you'll use to call up |
| 28 |
the footnote, and the text of each footnote generated. |
| 29 |
If the optional \texttt{*} is present, the command you've created will |
| 30 |
end with \cs{xspace}, so as to save you from the onerous business of |
| 31 |
escaping the space after the footnote invocation. |
| 32 |
|
| 33 |
A couple of examples: |
| 34 |
\begin{quote} |
| 35 |
\begin{verbatim} |
| 36 |
\DeclareFixedFootnote*{\sic}{\emph{sic}} |
| 37 |
\DeclareFixedFootnote{\prooflater}{This theorem will be |
| 38 |
proved later} |
| 39 |
\end{verbatim} |
| 40 |
\end{quote} |
| 41 |
|
| 42 |
\section{How does it do it?} |
| 43 |
|
| 44 |
The package works by exchanging information with itself, through the |
| 45 |
medium of the \texttt{.aux} file (like labels, and per-page footnotes |
| 46 |
in the \textsf{footmisc} package). I never got around to making it |
| 47 |
tell you to re-run the document when you need to (as labels and those |
| 48 |
per-page footnotes do). |
| 49 |
\end{document} |