在LaTex生成的pdf文档中建立链接(如从正文到参考文献,从目录到相应内容,从图标号到对应图),有利于读者快速定位当前阅读的信息。
参考:http://www.tug.org/applications/hyperref/manual.html
参考:https://www.cnblogs.com/ouyxy/p/6743073.html
一、引入包
\usepackage{hyperref}
二、具体
\usepackage[dvipdfm, %pdflatex,pdftex 这里决定运行文件的方式不同
pdfstartview=FitH,
CJKbookmarks=true,
bookmarksnumbered=true,
bookmarksopen=true,
linkcolor=green,
anchorcolor=green,
citecolor=green
]{hyperref}
不同链接写法:
\href{URL}{text}
\url{URL}
\nolinkurl{URL}
\hyperbaseurl{URL}
\