超链接到所提及文本中的参考文献

超链接到所提及文本中的参考文献

我希望脚注中的“Smith (2003: 22-3)”显示为参考书目部分中提到的同一参考文献的超链接。我应该怎么做?

\documentclass[preprint,12pt]{elsarticle}
\usepackage[english]{babel} 
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage[superscript]{cite}
\usepackage{lineno}
\usepackage[colorlinks=true]{hyperref}
\usepackage{natbib}
\usepackage{footnotebackref}

\begin{document}

\begin{frontmatter}

\title{\textbf{Title}}


\begin{abstract}
this is abstract
\end{abstract}

\begin{keyword}
\hspace{-0.5cm} social epistemology, testimony, manipulation, truth, knowledge
\end{keyword}
\end{frontmatter}
\section{one}
That is widely accepted.\footnote{for example see Smith (2008: 22-3) as one example.}

\section{Bibliography}
\begin{thebibliography}{99}

\bibitem Smith, D. (2003). Perception. Oxford University press.  

\end{thebibliography}
\end{document}

答案1

您只需使用 hyperref 命令和 bibitem 中的标签(命令之后\phantomsection):

\documentclass[preprint,12pt]{elsarticle}
\usepackage[english]{babel} 
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{lineno}
\usepackage[colorlinks=true]{hyperref}
\usepackage{natbib}
\usepackage{footnotebackref}
\usepackage{lipsum}
\begin{document}

\begin{frontmatter}

\title{\textbf{Title}}


\begin{abstract}
this is abstract
\end{abstract}

\begin{keyword}
\hspace{-0.5cm} social epistemology, testimony, manipulation, truth, knowledge
\end{keyword}
\end{frontmatter}
\section{one}
That is widely accepted.\footnote{for example see \hyperref[firstbibitem]{Smith (2008: 22-3)} as one example.}


\lipsum[1-10]
\section{Bibliography}
\begin{thebibliography}{99}

\bibitem{bib1}\phantomsection\label{firstbibitem} Smith, D. (2003). Perception. Oxford University press.  

\end{thebibliography}
\end{document}

相关内容