How to underline and color hyperlinks?

Pavel Sanda sanda at lyx.org
Sat Sep 28 19:55:04 UTC 2024


On Sun, Sep 22, 2024 at 07:11:36PM +0300, Udicoudco wrote:
> The "cololinks" option in the hyperref package disables the borders
> at the beginning of the document. If you want both you need to add the
> following to the preamble after enabling colored links
> 
> \AtBeginDocument{\hypersetup{pdfborder=0 0 1}}
> 
> Its a question of whether the GUI should indicate
> things similar to the LaTeX implementation or not.

I think we could indicate this in the UI pane (either 
disabling border option when colorlinks are enabled
or enhance the tooltip).
Reading hyperref manual it's clear that they clearly 
understand both options as mutually exclusive.
 
> Besides that, these borders are not part of the
> printed version

Right, per manual feature, not bug.

Pavel


More information about the lyx-devel mailing list