# [texhax] Footnotes in separate file

Tom Schneider toms at ncifcrf.gov
Mon Apr 5 00:43:23 CEST 2010

Philip:

> Not sure I follow this, Tom : does "footnoteNAME.tex"
> contain one or all footnotes ?  In Nicholas's original
> enquiry, it seemed to me that he wanted to hold all
> footnotes in a single file.

Right.  In the paper I'm writing each footnote is in a separate file.
However if one joins them into one file, then there must be a way to
separate them in the paper.  One could:

\input{myfootnotes}

near the start of the paper and myfootnotes.tex would contain

\newcommand{\footnoteA}[1]{\footnote{A anything} }
\newcommand{\footnoteB}[1]{\footnote{B building} }
\newcommand{\footnoteC}[1]{\footnote{C castle} }
\newcommand{\footnoteD}[1]{\footnote{D domain} }

so later in the paper one would\footnoteA\ and so on.

I tried this and it worked.

Tom

Dr. Thomas D. Schneider, Ph.D.
National Institutes of Health
schneidt at mail.nih.gov
toms at alum.mit.edu (permanent)
http://alum.mit.edu/www/toms (permanent)

More information about the texhax mailing list