如何将尾注编号与正文中的对应编号进行超级引用?

如何将尾注编号与正文中的对应编号进行超级引用?

我以前经常\usepackage{enotez}使用从正文中的数字到尾注数字的超引用。但我还想反过来使用超引用,即从尾注数字到正文中的数字。我该怎么做呢?

\documentclass[preprint,12pt]{elsarticle}
\usepackage[colorlinks=true]{hyperref}
\usepackage{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.} 

\printendnotes
\end{document}

答案1

backref按照手册7页面上部部分中明确说明的方式使用选项10

footnotebackref在我看来,这里不需要这个包。

\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}

相关内容