>> Am Sonntag, 22. September 2024, 10:59:28 CEST schrieb Stef Pillaert:
>> > 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
>>

The colorlinks option disables link borders pretty late,
so you will need to enable them back in the begindocument
hook (or later).  Adding the line

\AtBeginDocument{\hypersetup{pdfborderstyle={/S/U/W 1}}}

to the preamble underlines the links, see the attached.

Udi

> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

Attachment: MWE.lyx
Description: application/lyx

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to