diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-24 23:30:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-24 23:30:23 +0000 |
commit | c2e2309fda3600a470a0026ef17f98b44dfb3f40 (patch) | |
tree | 769063fd15ad60a89517a29c0e0f16239adc3f2a /Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex | |
parent | f18c432c76b177aa9357e97d3858a1ed0e8fb406 (diff) |
pdfcomment 2.2 (24may11)
git-svn-id: svn://tug.org/texlive/trunk@22604 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex b/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex index 6bcda5aca8a..6c25792820a 100644 --- a/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex +++ b/Master/texmf-dist/doc/latex/pdfcomment/pdfcomment.tex @@ -549,7 +549,7 @@ Furthermore the command can not support page breaks (\string\pdfmarkupcomment, \ \subsubsection{\texorpdfstring{\cs{pdftooltip}}{\textbackslash pdftooltip}} \label{sec:pdftooltip} -Possible \margcs{\cmd\pdftooltip\oarg{Optionen}\\\marg{Objekt}\marg{Kommentar}}options: \styleoption{disable}, \styleoption{mathstyle} +Possible \margcs{\cmd\pdftooltip\oarg{options}\\\marg{object}\marg{comment}}options: \styleoption{disable}, \styleoption{mathstyle} \bigskip With the command \cmd\pdftooltip{} you can annotate any object with a tooltip - provided the the object can be set into a box to measure its size. Therefore you can smoothly use tooltips with \pdftooltip{\textcolor{red}{words}}{This is a tooltip!} or in a chemical notation: $\pdftooltip{H_{2}SO_{4}}{Sulfuric acid}$ @@ -560,6 +560,8 @@ Please notice the comments about usage in math mode in section \ref{sec:pdfmarku If you want to annotate parts of a graphic with tooltips, special methods are needed, because \cmd\pdftooltip{} can not measure the size (see: \LinkEx). +\texttt{\cmd\pdftooltip} can not be influenced with the \styleoption{final} option, as most users certainly want to have the tooltips in the final document. But they can be switched off with the \styleoption{disable} option. + \bigskip \begin{tikzpicture} \draw [<->,thick] (0,2) node (yaxis) [above] {$y$} |