I wan to be able adding numbered footnotes for some words in my documents, but displaying them on the same page and not at the end of the document. Ho do I do that?
[Tex/LaTex] How to add numbered footnotes on every page
footnotes
Related Solutions
This seems to be normal. Remember that your paper will be processed again before publication. Here's subsection V.A of the documentation:
If you are using numbered citations (numerical or num- bered author-year), footnotes are by default incorporated into the reference section along with your bibliographic entries. This automated feature is only effective if you use BibTeX to prepare your bibliography.
Author-year style bibliography does not lend itself to such a treatment, so by default footnotes appear in text as is usual. However, be advised that, if your article is accepted for publication, footnotes may be incorporated into text during the production process.
So, don't worry: the class does this on purpose.
\begin{filecontents*}{\jobname.bib}
@article{a,
title = {Quantum cryptography using any two nonorthogonal states},
author = {Bennett, Charles H.},
journal = {Physical Review Letters},
volume = {68},
number = {21},
pages = {3121--3124},
numpages = {3},
year = {1992},
month = {May},
doi = {10.1103/PhysRevLett.68.3121},
publisher = {American Physical Society}
}
@article{b,
author={Bonfrate, G. and Harlow, M. and Ford, C. and Maxwell, G. and Townsend, P.D.},
journal={Electronics Letters},
title={Asymmetric Mach-Zehnder germano-silicate channel waveguide interferometers for quantum cryptography systems},
year={2001},
month={jun},
volume={37},
number={13},
pages={846--847},
doi={10.1049/el:20010508}
}
\end{filecontents*}
\documentclass[aps,pre,twocolumn,showpacs,superscriptaddress,groupedaddress]{revtex4}
\begin{document}
This is a test~\cite{a} where I want correct footnotes~\footnote{footnote 1},
i.e. footnotes that are correctly numbered in the bibliography~\cite{b}.
Another footnote~\footnote{footnote 2}.
\bibliography{\jobname.bib}
\end{document}
Best Answer
If I understand your edited question correctly, you're asking how to attach a footnote to a word and have the footnote display on the same page as the word. (Right?) The first thing I would say is that LaTeX generally does this by default, if you use the
\footnote{}
command. That is, writing the following in your LaTeX sourcewill produce a footnote that displays at the bottom of the page on which
word
appears.If your footnotes are appearing at the end of the document instead, there must be some package or class you're using which causes that behavior. It may have an option to switch between footnotes and endnotes, but I couldn't tell you what that might be unless you provide more information (namely, your document preamble).