Text Formatting ⇒ endnotes with asterisk
endnotes with asterisk
\documentclass[12pt]{article}
\usepackage{gb4e}
\usepackage[tone]{tipa}
\usepackage{natbib}
\usepackage[ibycus, english]{babel}
\usepackage{amssymb}
\usepackage{endnotes}
\usepackage[none]{hyphenat}
\usepackage{pslatex}
\title{TITLE\endnote[*]{Acknoweledment}}
\author{author}
\begin{document}
\raggedright
\maketitle
\section{Introduction}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer a pretium odio. Pellentesque et dolor nisi. Donec a nisi odio, vel hendrerit turpis. Donec sapien dui, molestie eleifend lacinia sed, lobortis vel purus\endnote{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer a pretium odio.}. In hac habitasse platea dictumst. Proin sem lectus, pretium sed vehicula eget, ullamcorper a lectus. Vestibulum enim neque, auctor eu gravida quis, mattis a ligula. Sed ornare mi non sem convallis a tempus lectus volutpat. Aenean neque enim, rutrum vitae lacinia et, porttitor et leo. Etiam nec sem sit amet lectus ultrices tempus nec ac dolor. Nulla id magna nec lacus mattis pretium. Duis porta ligula eget nulla vulputate ultrices. Donec vel leo et mi tincidunt viverra.
\makeatletter
\def\enoteformat{\rightskip\z@ \leftskip1em \parindent=0em
\leavevmode\llap{\hbox{\@theenmark.~}}}
\makeatother
\theendnotes
\end{document}
What I get is Title*0 and the first note starts with 0 not *.
If you can help with this, can you also tell me how to reset the counter so the first actual note starts with 1 and not 2?
thank you
PS I have found several hints online but none of them work. For example I tried using the command for footnotes plus the following code
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
Here's is one\footnote{starred note} and here is a
second.\footnote{Daggered footnote}
\renewcommand{\thefootnote}
\setcounter{footnote}{0}
and then tried converting footnotes to endnotes with \let\footnote=\endnote but it did not work.
I also tried $^*$\footnotetext{$^*$ Here is the
footnote}. This almost worked: in the Endnote section I still get 0.<acknowledgments>
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
endnotes with asterisk
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
endnotes with asterisk
In the meantime, here's a guess. If it's only that single endnote, bound to the title of the document, a simple manual approach might be appropriate. Here's an example:
Code: Select all
\documentclass{article}
\usepackage{endnotes}
\let\footnote=\endnote
\newcommand{\firstendnote}[1]% The first starred endnote
{\mbox{\textsuperscript{*}}%
\addtoendnotes{\hspace{-.42em}\textsuperscript{*}#1}
}
\title{TITLE\firstendnote{Acknowledgement}}
\author{author}
\begin{document}
\maketitle
\section{Introduction}
Some text.\footnote{A footnote which should be converted to an endnote automatically.}
\theendnotes
\end{document}