如何将尾注的数字设为上标?

如何将尾注的数字设为上标?

在下面的 TeX 中,如何将尾注的数字设为上标?

\documentclass[preprint,12pt]{elsarticle}
\usepackage[colorlinks=true]{hyperref}
\usepackage[backref]{enotez}      % <-- instead of \usepackage{endnotes}
\usepackage{hyperref}
\let\footnote=\endnote

\usepackage[english]{babel} 
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{lineno}
\usepackage{natbib}
%\usepackage{footnotebackref}
\usepackage{changepage}
\frenchspacing
\usepackage{times}

\makeatletter % <-Added code from here
\def\ps@pprintTitle{%
 \let\@oddhead\@empty
 \let\@evenhead\@empty
 \def\@oddfoot{}%
 \let\@evenfoot\@oddfoot}
\makeatother


\usepackage{csquotes}
\MakeOuterQuote{"}

\usepackage{etoolbox}
\patchcmd{\keyword}{\textit}{}{}{}

\usepackage{setspace} 
\doublespacing

\begin{document}


But, in either of the above ways is it defined, why not to take the constraints as securing information too?\footnote{The question was brought up to my attention by John.} 

\clearpage
\printendnotes
\end{document}

答案1

更新\enmark命令(包装手册第 6 页末尾)。

这是您的示例的重新格式化版本,请注意hyperref应最后加载。

\documentclass[preprint,12pt]{elsarticle}
\usepackage[english]{babel} 
\usepackage{times}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{lineno}
\usepackage{natbib}
\usepackage{changepage}
\usepackage{csquotes}
\usepackage{setspace} 
\usepackage{etoolbox}

\usepackage[backref]{enotez}      % <-- instead of \usepackage{endnotes}
\usepackage[colorlinks=true]{hyperref}

\let\footnote=\endnote
\renewcommand\enmark[1]{\textsuperscript{#1}}

\frenchspacing

\makeatletter % <-Added code from here
\def\ps@pprintTitle{%
 \let\@oddhead\@empty
 \let\@evenhead\@empty
 \def\@oddfoot{}%
 \let\@evenfoot\@oddfoot}
\makeatother


\MakeOuterQuote{"}

\patchcmd{\keyword}{\textit}{\textnormal}{}{\ddt}

\doublespacing

\begin{document}


But, in either of the above ways is it defined, 
why not to take the constraints as securing 
information too?\footnote{The question was 
brought up to my attention by John.} 

\clearpage
\printendnotes
\end{document}

我建议不是加载times,但更喜欢newtxtext和伴随的newtxmath数学。

在此处输入图片描述

相关内容