在latex文件的每个页面上创建指向特定页面的链接

在latex文件的每个页面上创建指向特定页面的链接,latex,tex,Latex,Tex,我想在latex文件的每一页上创建一个链接,该链接应该导航到文档中的特定页面。例如,在每个页面上为\listoftodos命令创建一个链接,以便轻松导航到它 MWE \documentclass[]{article} %opening \title{} \author{} \usepackage[draft, colorinlistoftodos]{todonotes} \begin{document} \section{one} \todo[inline]{todo 1} \newpage

我想在latex文件的每一页上创建一个链接,该链接应该导航到文档中的特定页面。例如,在每个页面上为
\listoftodos
命令创建一个链接,以便轻松导航到它

MWE

\documentclass[]{article}

%opening
\title{}
\author{}
\usepackage[draft, colorinlistoftodos]{todonotes}
\begin{document}
\section{one}
\todo[inline]{todo 1}

\newpage
\section{two}
\todo[inline]{todo 2}

\newpage
\listoftodos
\end{document}

一种可能性是:使用
fancyhdr
软件包并添加到头部或足部的链接:

\documentclass[]{article}

%opening
\title{}
\author{}
\usepackage[draft, colorinlistoftodos]{todonotes}

\usepackage{fancyhdr}
\pagestyle{fancy} 
\fancyhf{} 
\fancypagestyle{plain}[fancy]{}
\renewcommand{\headrulewidth}{0pt}
\cfoot{\protect\hyperlink{todolist}{jump to todo list}}

\usepackage{hyperref}
\begin{document}
\section{one}
\todo[inline]{todo 1}

\newpage
\section{two}
\todo[inline]{todo 2}

\newpage
\phantomsection
\hypertarget{todolist}{}
\listoftodos
\end{document}

你能做一个简单的例子来说明你使用了哪个documentclass以及你是如何创建你的待办事项列表的吗?请看更新后的问题