Using pdfcomment to create pdftooltip
Sasi Kumar <[email protected]>
| Newsgroups | gmane.comp.tex.tugindia |
|---|---|
| Message-ID | <CAOZpsvuOwicnCwf1ib9ZH6Z=Zbb=ifLVd76OPiBXN1hJPa+7eg@mail.gmail.com> |
Friends,
I am trying to create tooltips in a document to show footnotes instead of
listing them at the end. I tried out an example shown in the website:
http://tex.stackexchange.com/questions/34698/strange-appearance-of-tooltips-produced-by-pdfcomment.
Wle compiling, it compains that \pdftooltip is an unknown command. Could it
be because my tex installation is slightly old? Maybe, I will have to
reindstall the pdfcomment package with the latest?
Giving the document below:
\documentclass{article}
\usepackage{pdfcomment}
\newcommand\MyShortCut[3]{\newcommand{#1}{\pdftooltip{#2}{#3}}}
\MyShortCut{\textthing}{tooltip here}{just an example}
\MyShortCut{\Td}{\tau_\textrm{d}}{reptation time}
\MyShortCut{\Tr}{\tau_\textrm{R}}{Rouse time}
\begin{document}
Use pdflatex to compile, then open in Acrobat Reader and
put the mouse pointer above $\tau$'s
\[
\Td = 3 Z \Tr
\]
Or in text \textthing.
\end{document}
Thanks and regards,
Sasi
--
V. Sasi Kumar
Free Software Foundation of India
Please see: http://swatantryam.blogspot.com/
_______________________________________________
Home: http://www.tug.org.in/
TeX FAQ: http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia