I would like links to appear as coloured underlines in my documents. The following short example produces a pdf that displays the link correctly in Acrobat, but not in Preview. In Preview it shows up as a box:
Is there a way I can get Preview to display the link as an underline using commands in \hypersetup?
\documentclass{article}
\usepackage{hyperref}
\usepackage{xcolor}
\hypersetup{%
colorlinks=false,
pdfborderstyle={/S/U/W 1}
}
\begin{document}
\url{www.google.com}
\end{document}
pdfborderstyle. – Alan Munn Jun 11 '12 at 02:42http://if I want an active link with Preview, Skim or Safari. Safari says : bad character in the link. I try with\hrefinstead of\urlbut the problems are the sames with "underline" and "http". Actually, I need to write\href{http://www.google.com}{www.google.com}– Alain Matthes Jun 11 '12 at 06:20\nolinkurlcan be used to get the link typeset in the same way as\urlbut without the link. Result with complete URL:\href{http://www.google.com/}{\nolinkurl{www.google.com}}– Heiko Oberdiek Jul 29 '12 at 23:02