[pdftex] Dashed lines in \pdfannot

Heiko Oberdiek oberdiek at uni-freiburg.de
Sat Sep 16 21:25:04 CEST 2006


On Sat, Sep 16, 2006 at 09:49:00AM -0700, James Quirk wrote:

> To get a dashed line you will need to add a /BS dictionary, such as:
> 
>    /BS <<  /S/D /D [8 4]>>
> 
> where:
> 
>    /S indicates the border style (here /D for dashed);
>    /D is a dash array (here 8 points on 4 points off).
> 
> I hope that helps.

AR7/Linux also needs "/W 1".
And hyperref now knows option pdfborderstyle:

\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{graphicx,color,geometry}
\usepackage{hyperref}[2006/08/01]
\hypersetup{
  pdfborderstyle={/S/D/D[8 4]/W 1}
}

\begin{document}
\section{Test}
\label{test}
Reference: \autoref{test}
\end{document}

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the pdftex mailing list