Text Formatting ⇒ Two distinct sets of footnotes
Two distinct sets of footnotes
I'd like to use two distinct sets of footnotes. I have a latex document that works fine, with the author's footnotes. I, the editor, would like to add my own footnotes and would like to distinguish them from the authors'. My own footnotes do not need to be numbered (An * would be fine for each of my footnotes).
What would be the simplest solution ?
Leo
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Two distinct sets of footnotes
Code: Select all
\documentclass{book}
\makeatletter
\long\def\symbolfootnote[#1]#2{\begingroup%
\def\thefootnote{\fnsymbol{footnote}}\footnote[#1]{#2}\endgroup}
\makeatother
\newcommand{\ednote}[2][1]{\symbolfootnote[#1]{#2}}
\begin{document}
Test\footnote{Normal footnote}
Test\ednote{Editor's note 1}
Test\ednote{Editor's note 2}
Test\ednote[2]{Editor's note 3 (custom)}
Test\footnote{Another normal footnote}
Test\footnote{Another normal footnote}
Test\ednote[3]{Editor's note 4 (custom)}
Test\footnote{Another normal footnote}
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Two distinct sets of footnotes
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Two distinct sets of footnotes
Leo
Re: Two distinct sets of footnotes
I was looking for exactly the same thing today, and found this thread. I'm new to latex and I don't know exactly how your solution works, but it works perfectly for what I need.
So thanks alot.
Junket