\documentclass{article}
\usepackage{endnotes}
\begin{document}
text\endnote{test footnote}
\theendnotes
\end{document}
The there will be a word "Note" in front of the notes, how to remove this word "Notes"?
\documentclass{article}
\usepackage{endnotes}
\begin{document}
text\endnote{test footnote}
\theendnotes
\end{document}
The there will be a word "Note" in front of the notes, how to remove this word "Notes"?
You can use \renewcommand*{\enoteheading}{} to remove the heading completely.
Example:
\documentclass{article}
\usepackage{endnotes}
\renewcommand*{\enoteheading}{}% removes the heading comletely
\begin{document}
text\endnote{test footnote}
\theendnotes
\end{document}
If only text »Notes« (but not the vertical space) should be reomved (or replaced), redefine \notesname.
Example:
\documentclass{article}
\usepackage{endnotes}
\renewcommand*{\notesname}{}% removes only the name
\begin{document}
text\endnote{test footnote}
\theendnotes
\end{document}
I'm a beginner latex user, thus no expert at all. But yet, I found a solution by adding \def\notesname{\relax} in the definitions of the endnotes.
\renewcommand*{\notesname}{}% which should do something similar here. But note that that still typesets a heading with empty title. If you want to get rid of the heading properly, the other answer suggests a better solution. In any case I recommend to avoid \def and use the LaTeX commend \renewcommand.
– moewe
Jul 27 '20 at 06:59
def\notesname{\relax don't leave the space for the notes title as well.
– Fábio José de Jesus
Jul 27 '20 at 11:43
\def\notesname{\relax} does leave a space, while \renewcommand*{\enoteheading}{} as in esdd's answer doesn't. In any case, if you want to retain the space, I think esdd's alternative suggestion of \renewcommand*{\notesname}{} is preferable over \def\notesname{\relax} since it uses LaTeX's \renewcommand instead of TeX's \def.
– moewe
Jul 27 '20 at 12:47
\documentclass{article} and \documentclass{exam}. \renewcommand*{\notesname}{}% removes the space induced by the section heading. \def\notesname{\relax} and the preferable \renewcommand*{\notesname}{} don't. Can you see a difference between your suggestion \def\notesname{\relax} and the in my eyes preferable \renewcommand*{\notesname}{} in your document?
– moewe
Jul 27 '20 at 15:47