[pdftex] pdfannot

Diederik van Arkel vanarkel at knoware.nl
Wed Nov 9 13:26:20 CET 2005

On Nov 9, 2005, at 11:48 AM, Victor Ivrii wrote:

> On 11/9/05, Heiko Oberdiek <oberdiek at uni-freiburg.de> wrote:
>> On Tue, Nov 08, 2005 at 07:41:53PM -0500, Victor Ivrii wrote:
>>> On 11/5/05, Heiko Oberdiek <oberdiek at uni-freiburg.de> wrote:
>>>> On Sat, Nov 05, 2005 at 09:10:44AM -0500, Victor Ivrii wrote:
>>>>> I was long ago interested in. I think that  Notes could be a nice
>>>>> alternative to footnotes
>>>> They aren't in general, because many PDF viewers are not able
>>>> to display them (xpdf, gs, ...).
>>> I am aware of this. In fact I suspect that none but AR/Acrobat can
>>> handle this. Still AR exists for most of the platforms and in certain
>>> circumstances it could be beneficial
>>> It looks loke in
>>> \pdfannot
>>> height 4cm
>>> width 4cm
>>> depth 4cm
>>> {
>>> /Subtype /Text
>>> /Open true
>>> /T (My note)
>>> /C [1 0 0]
>>> /Contents %
>>> (This note is produced by Latex)
>>> }
>>> while ``height'' changes the position of the ``note'' icon,  
>>> ``width''
>>> and ``depth'' have no effect. (Tested with
>>> pdflatex-3.141592-1.30.4-2.2)
>>> 1) Can anyone confirm this?
>> Yes, see one of my mails in the current "hover" thread.
>> My observation is that AR takes the left upper corner
>> and put the text note symbol there. The other values of
>> the rectangle do not have an effect.
> Thanks!
>>> 2) While /C changes note color, I could not find a way to change an
>>> icon. I failed
>>> to find info in few manuals or looking at attachfile.sty source
>> /AP key, ...
> Does not seem to work: checked with pdflatex 3.141592-1.30.4-2.2 and
> older -1.21a
> PDF file has neither icon nor note.
> Using /AP (key) kills icon but not a note.
> Also where one can find the list of /pdfannot specifications?

I use

/Name name

for this. Where name can be one of /Note (the default) /Comment, /Help, 
/Key, /NewParagraph, or /Paragraph. I find this easier to use than an 
AP dictionary.
If you really want to know all the things you can do  then download a 
copy of the
pdf reference from 
Info about icons, notes, and note locations is in the section on 
Annotations (8.4 in my


Diederik van Arkel

More information about the pdftex mailing list