citecolor=blue]{hyperref} % 参考文献链接颜色为蓝色 将hyperref 宏包加载在所有其他宏包之后,确保其能正确修改文档内的所有交叉引用和链接。 2.2 插入外部超链接 使用hyperref 宏包后,可以利用\href命令插入指向外部网站的超链接。基本语法为: \href{<URL>}{<显示文本>} 例如,要插入一个指向 LaTeX 官网的链接,...
\documentclass{article} \usepackage{hyperref,xcolor} \begin{document} \href{http://any-URL}{\color{blue}{\underline{Some URL}}} \end{document} Let's assume I would like to have every second argument of every \href in the document styled within \color{blue}{\underline{...}. How woul...
\documentclass{article} \usepackage[ngerman]{babel} \usepackage[german=swiss]{csquotes} \hyphenation{pen-to-bar-bi-tal} \usepackage[colorlinks,allcolors=blue]{hyperref} \setlength\textwidth{11.5cm} \setlength\textheight{2cm} \begin{document} xxx.\footnote{Kantonsapothekervereinigung. \href{https...
the boxes disappear if in the following I uncomment the colorlinks line \definecolor{darkblue}{rgb}{0.0,0.0,0.3} \hypersetup{ % colorlinks, breaklinks, linkcolor=darkblue, urlcolor=darkblue, anchorcolor=darkblue, citecolor=darkblue } Is there a way to be able to color \href...