看我的照片。
我还想在数字和注释之间添加一个空格。除了写\endnote{ hello}
,还有什么正式的方式吗?
这是我的源代码。
\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
该endnotes
包用于\makeenmark
在文本和尾注中排版脚注标记。
我们可以利用尾注成组打印的事实来在本地重新定义命令:
\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}