Is there a way to move all footnotes to the end of the document (after the thebibliography
environment)?
-
And interesting counter-question here would be: why would you want to do that? I would like to suggest reading this in order to get a grip of what end- and footnotes are and when to prefer one over the other.– rbaleksandarCommented Mar 20, 2017 at 14:33
-
@rbaleksandar that link is dead, do you mind summarizing the point being made in the article? edit: found the content via internet archive– ffledglingCommented Nov 30, 2018 at 9:15
3 Answers
You can use the endnotes
package:
\documentclass{article}
\usepackage{endnotes}
\let\footnote=\endnote
\begin{document}
text\footnote{test footnote}
\newpage
\theendnotes
\end{document}
To add a horizontal rule below the "Notes" heading, you can redefine the \enoteheading
command; for example, to obtain a rule of width equal to 0.5\textwidth
you can add the following lines to the preamble (after loading endnotes
):
\makeatletter
\def\enoteheading{\section*{\notesname
\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%
\mbox{}\par\vskip-2.3\baselineskip\noindent\rule{.5\textwidth}{0.4pt}\par\vskip\baselineskip}
\makeatother
Of course, feel free to change the vertical skips according to your needs.
-
Thanks Gonzalo, but how can I add a line below the "Notes"? Commented May 16, 2012 at 22:42
-
@VahidDamanafshan a line of width rqual to the whole \textwidth or just undelining the word "Notes"? Commented May 16, 2012 at 22:50
-
-
-
1Do you know the difference between
endnotes
andpagenote
(from the other answer)? Commented Aug 1, 2013 at 22:03
The endnotes
package hasn't been updated since 2003 (at this writing), and doesn't work well with the KOMA-Script classes. The enotez
package is more reliable and easier to customize:
\documentclass{scrartcl}
\usepackage{enotez}
\let\footnote=\endnote
\begin{document}
text\footnote{test footnote}
\printendnotes
\end{document}
-
1Thank you for pointing out enotez, an excellent alternative to endnotes.– gslCommented Jan 27, 2019 at 16:35
You may use the pagenote
package:
\documentclass{report}
\usepackage{pagenote}
\makepagenote
\renewcommand*{\notedivision}{\chapter*{\notesname}}
\let\footnote\pagenote
\begin{document}
\chapter{First}
Some text.\footnote{A footnote.}
\begin{thebibliography}{9}
\bibitem{A01} A bibitem.
\end{thebibliography}
\printnotes
\end{document}
-
7Do you know the difference between
pagenotes
andendnotes
(from the other answer)? Commented Aug 1, 2013 at 22:03 -
1
pagenotes
2004-2009.endnotes
2002-2004, development resumed in 2018.enotez
2009-2022.– AaronCommented Feb 24, 2023 at 4:53