6

See my picture.

enter image description here

Also I want to add a space between the number and note. Besides writing \endnote{ hello}, are there any formal way?

This is my source code.

\documentclass{article}
\usepackage{endnotes}
\renewcommand{\notesname}{References}
\renewcommand{\theendnote}{[\arabic{endnote}]}

\begin{document}
\section{Introduction}
As traffic in Macao is a problem\endnote{ hello}, we want to do the project to find out the relationship of traffic among different sites\endnote{world}.

\theendnotes
other references...

\end{document}
1
  • 1
    From page 3 of the manual, you should redefine \@makeentext{<note>}. Unfortunately, this macro is neither defined nor used in the actual style file. Feb 26, 2013 at 13:54

1 Answer 1

8

The endnotes package uses \makeenmark for typesetting the footnote mark both in the text and in the endnotes.

We can take advantage of the fact that the endnotes are printed in a group to redefine the command locally:

\documentclass{article}
\usepackage{endnotes,etoolbox}

\renewcommand{\notesname}{References}

% end note marker = superscripted number in brackets
\renewcommand\makeenmark{\textsuperscript{[\theenmark]}}

% in the endnotes, we change it without `\textsuperscript`, adding a space
\patchcmd{\theendnotes}
  {\makeatletter}
  {\makeatletter\renewcommand\makeenmark{[\theenmark] }}
  {}{}

\begin{document}
\section{Introduction}

As traffic in Macao is a problem\endnote{hello}, we want to do the project
to find out the relationship of traffic among different sites\endnote{world}.

\theendnotes

other references...

\end{document}

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .