File: fde0022.tex

package info (click to toggle)
texlive-doc 2009-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 192,004 kB
  • ctags: 4,774
  • sloc: perl: 12,760; xml: 11,870; makefile: 1,033; lisp: 394; sh: 229; awk: 205; java: 159; sed: 4
file content (22 lines) | stat: -rw-r--r-- 641 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
To create a help  annotation use
\begin{lstlisting}
~\pdfannot width 20pt {
	/Subtype /Text
	/Name /Help
	/C [0.65 0.79 0.94]
	/T (Help text title)
	/Contents (The help text to show.)
}\(\qquad\)
\end{lstlisting}
No room is reserved by pdf\LaTeX{} for the icon, so we add some
space (qquad). To have some room between the form field and the  help
icon we use a non-breaking space.

The ``/Name /Help'' entry chooses the annotation icon
(question mark).\\
The ``/C'' entry sets the icon color, I recommend to use the same color
as used in the form fields.

Example ex0012 shows how to use \textsc{pdf} annotations to provide
help.
\clearpage