It depends on what the other settings are. When I put pdfborderstyle={U} in
that Extra Options menu, I do get underlining, as long as links are not
colored at the same time (that's in the basic options tab). You might have
to read the hyperref manual more closely to get the underlining to be the
right color to print, too.

What PDF reader are you using? I don't see underlining in one of my
readers, but I do see it in the other. The package's defaults make it a
pale turquoise color, which won't print well. BTW, the hyperref manual
mentions that PDF readers vary in whether they display some of the link
formatting.

On Mon, Sep 23, 2024 at 2:39 AM Stef Pillaert <stef.pilla...@kuleuven.be>
wrote:

>
> I don't manage to realize this, both with or without colors: if I put
> this, no underlined hyperlinks in my output.
> Am I doing it the wrong way (see screenshot)?
> Stef
> ------------------------------
> *Van:* Maria Gouskova <gousk...@gmail.com>
> *Verzonden:* zondag 22 september 2024 19:01
> *Aan:* Stef Pillaert <stef.pilla...@kuleuven.be>
> *CC:* lyx-users <lyx-users@lists.lyx.org>
> *Onderwerp:* Re: How to underline and color hyperlinks?
>
> Link formatting is handled by the hyperref package in LyX, so you can
> change some options natively (e.g. choose to put boxes over the links,
> which will print even if the links are not in color). There are also
> additional options you can pass through Documents>Settings>PDF
> Properties>Additional Options:
>
>
> https://mirror.math.princeton.edu/pub/CTAN/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
>
> I think "pdfborderstyle" is what you want.
>
> Best,
> Maria
>
> On Sun, Sep 22, 2024 at 12:53 PM Stef Pillaert <stef.pilla...@kuleuven.be>
> wrote:
>
> I know, but it would be more logical if this would be some kind of
> option/setting for all hyperlinks, I think.
> Stef
> ------------------------------
> *Van:* Axel Dessecker <ades...@gwdg.de>
> *Verzonden:* zondag 22 september 2024 13:26
> *Aan:* lyx-users <lyx-users@lists.lyx.org>
> *CC:* Stef Pillaert <stef.pilla...@kuleuven.be>
> *Onderwerp:* Re: How to underline and color hyperlinks?
>
> 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
>
> Stef,
>
> You can underline hyperlinks like any text:
> edit -> text style -> adjust -> underline
>
> For the Welkomstvideo, see the MWE.
>
> Axel
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to