diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/pdf-forms-tutorial-en/forms-src/fde0022.tex')
-rw-r--r-- | Master/texmf-doc/doc/english/pdf-forms-tutorial-en/forms-src/fde0022.tex | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/pdf-forms-tutorial-en/forms-src/fde0022.tex b/Master/texmf-doc/doc/english/pdf-forms-tutorial-en/forms-src/fde0022.tex new file mode 100644 index 00000000000..b8318bf1ee9 --- /dev/null +++ b/Master/texmf-doc/doc/english/pdf-forms-tutorial-en/forms-src/fde0022.tex @@ -0,0 +1,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 |