dvipdfmx: g option and non-link annotations

Joseph Wright joseph.wright at morningstar2.co.uk
Wed May 1 11:26:56 CEST 2019


Hello all,

pdfTeX offers \pdflinkmargin to adjust the size of link boxes, whilst in 
dvips one can adjust in PostScript. In dvipdfmx, we have the g command 
line option to do something similar. However, it applies to all annotations:

\documentclass{article}
\usepackage{animate}
\usepackage{hyperref}
% overwrite the animate setting of g 0 with some large value:
\AtBeginDocument{\special{dvipdfmx:config g 30}}
\begin{document}
\url{https://www.latex-project.org}

\vspace{3cm}
\begin{animateinline}[controls]{30} % 30 frames per second
   \multiframe{10}{iPosition=0+1}{ % iPosition=0...100
    some text  }
\end{animateinline}

\end{document}

It would be beneficial if the g option would apply only to link 
annotations, or if there were a link-specific version of the same 
option. Is this a possibility?

Joseph


More information about the tex-live mailing list