[Tex/LaTex] Underlined links with hyperref possible

hyperreflinkstext-decorations

How can I have underlined links with hyperref?

That means how to configure hyperref not to change the color of the printout but use underlined active links which are completely transparent in print.

The condition for an answer to be qualified would be not to make code changes in a local copy of the hyperref macros, working for linebraking/hyphenation of links in dvi/PS as well as PDF output, configuration for different dvi-drivers (e.g. pstricks.con). Options to specify underline color, linewidth, relative position/offset to baseline are a plus but functional not essential.

Best Answer

You can try this:

\documentclass{article}
\usepackage[colorlinks=false,
            allbordercolors={0 0 0},
            pdfborderstyle={/S/U/W 1}]{hyperref}

\begin{document}

\url{blub.blub.blub}

\end{document}