From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: How to wavy/double underline an org-mode link?
Date: Sat, 22 Jul 2017 13:22:25 +0200 [thread overview]
Message-ID: <87379o1zta.fsf@gmx.us> (raw)
In-Reply-To: 87h8y4u5d2.fsf@skimble.plus.com
Sharon Kimble <boudiccas@skimble.plus.com> writes:
> I'm writing a document that is available in two formats, one a pdf file
> and the other a paper copy of it, and its been pointed out to me that
> some sentences don't seem to make sense in the paper copy. When I've
> looked at that particular sentence in the source document, an org-mode
> file, I see that the relevant section is actually an org-mode link.
>
> So what I'm looking for is something like a wavy underline under each of
> the org-mode links which will appear in both versions. But how do I do
> it please? It will need to be a generalised command, meaning that it can
> very easily be applied as there are 387 links to be adjusted!
>
> I've found that I can underline each org-mode link by putting '_' before
> and after each link, which is then exported to a latex file and built
> into the pdf and does work. But, I am already underlining each glossary
> entry in the main body of the text, so to differentiate I would like
> either a wavy underline, or a double underline. But how please?
Is the paper copy a printed version of the pdf (i.e. generated via latex)?
If so, I would guess that you could customize the way links are printed by
hyperref. There are various ways to do this. Wavy underlines might be a
fair bit of work, but normal underlines should be doable. This is what I
use, possibly with a thinner line (<1). I am not sure it will show when
printed, though. There might be an option to keep them.
\hypersetup{pdfborderstyle={/S/U/W 1}}
Otherwise, you might be able to use something like the command in this
post.
https://tex.stackexchange.com/a/311143
Hope it helps,
Rasmus
--
May the Force be with you
next prev parent reply other threads:[~2017-07-22 11:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-22 10:35 How to wavy/double underline an org-mode link? Sharon Kimble
2017-07-22 11:22 ` Rasmus [this message]
[not found] <2535f962381540a18db893c8c5f44f34@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-07-22 10:44 ` Eric S Fraga
2017-07-24 13:22 ` Sharon Kimble
[not found] ` <cca36b87045e4d368338546940c6ae98@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-07-24 13:55 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87379o1zta.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.