[pdftex] Dashed lines in \pdfannot

James Quirk jjq at galcit.caltech.edu
Sat Sep 16 18:49:00 CEST 2006


Victor,

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.

James


On Fri, 15 Sep 2006, Victor Ivrii wrote:

> Cannot figure out (from pdfreference 1.6) how to make dashed line
> 
> Thank you very much in advance
> 
> 
> \documentclass[12pt]{article}
> \pagestyle{empty}
> \usepackage{graphicx,color,geometry}
> \usepackage{hyperref}
> 
> 
> \begin{document}
> 
> 
> \section{Lines}
> \pdfannot
> {
>  /Subtype /Line
> /L [400 600 300 756]
> /LE [/ROpenArrow /RClosedArrow]
> /Border [5 3 2]
> /IC [1 0 0]
> /C [0 0 0]
> /Cap true
> /Contents (This is Line)
> }
> 
> 
> 
> 
> 
> 
> 
> \end{document}
> 
> 


More information about the pdftex mailing list