How to underline and color hyperlinks?
Udicoudco
udifoglle at gmail.com
Sun Sep 22 16:11:36 UTC 2024
On Sun, Sep 22, 2024 at 6:46 PM Richard Kimberly Heck
<rikiheck at gmail.com> wrote:
>
> This looks like a bug to me. The user has "Use Hyperref" turned on, and does not have "No frames around links" checked, but there are no frames around \href links, but they are only colored. Shouldn't there be?
>
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.
Besides that, these borders are not part of the
printed version, I don't think it is relevant to the
reported problem.
Udi
>
>
>
> -------- Forwarded Message --------
> Subject: How to underline and color hyperlinks?
> Date: Sun, 22 Sep 2024 08:59:28 +0000
> From: Stef Pillaert <stef.pillaert at kuleuven.be>
> To: lyx-users <lyx-users at lists.lyx.org>
>
>
> Something I'm struggling with for a long time now...
> A (probably simple?) thing: I don't succeed in giving hyperlinks both a color and underline them.
> I want this, since my students often print my course material in black&white (easier reading/studying than reading on laptop screen, and B/W is a lot cheaper then printing in color 🙁).
> This way, they sometimes don't see/notice that there is actually a hyperlink they should click on (what they have to do starting from the digital version of the of the text, of course 😉)
> Thanks for pointing me in the right direction. I've added a MWE, so you can see what settings I'm using.
> Stef
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
More information about the lyx-devel
mailing list