[dvipdfmx] XeLaTeX + hyperref size of the boxed arround hyperlinks

l.heindl at protonmail.com l.heindl at protonmail.com
Mon Jan 11 23:11:53 CET 2021


Hi,

I recently switched from LaTeX to XeLaTeX and am currently writing the first document with the whole linking stuff (hyperlinks from one page to another) within. Part of this is a table of contents. This was when I noticed this:
[2021-01-03_01-24.png]

(with pdflatex)

while with xelatex it looks like this
[2021-01-03_01-25.png]

since the latter doesn't look so nice, I tried to reduce the size of that boxes and when I found (with the help of tex.stackexchange https://tex.stackexchange.com/questions/577314/xelatex-hyperref-bounding-box) the hyperref option pdflinkmargin which I set to a negative value.
This results in an appearance like this (with pdflinkmargin=-1pt)
[2021-01-11_23-05.png]

which I think looks ok (not nice but ok).

The trouble I still have with this solution is that links to e.g. footnotes look like this
[2021-01-11_23-07.png]

Since (like it can be seen on tex.stackexchange) someone gave me the hint that maybe someone on this mailing list might know something regarding this problem,  the big question for me is, is there a way to get results like with "plain" LaTeX? Or is there a way to reduce the horizontal and/or vertical pdflinkmargin separately?

With kind regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/dvipdfmx/attachments/20210111/0d22b4a5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2021-01-03_01-24.png
Type: image/png
Size: 35659 bytes
Desc: not available
URL: <https://tug.org/pipermail/dvipdfmx/attachments/20210111/0d22b4a5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2021-01-03_01-25.png
Type: image/png
Size: 20811 bytes
Desc: not available
URL: <https://tug.org/pipermail/dvipdfmx/attachments/20210111/0d22b4a5/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2021-01-11_23-05.png
Type: image/png
Size: 34782 bytes
Desc: not available
URL: <https://tug.org/pipermail/dvipdfmx/attachments/20210111/0d22b4a5/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2021-01-11_23-07.png
Type: image/png
Size: 6646 bytes
Desc: not available
URL: <https://tug.org/pipermail/dvipdfmx/attachments/20210111/0d22b4a5/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 855 bytes
Desc: OpenPGP digital signature
URL: <https://tug.org/pipermail/dvipdfmx/attachments/20210111/0d22b4a5/attachment-0001.sig>


More information about the dvipdfmx mailing list.