Difference between revisions of "Command/tooltip"

From Wiki
Jump to navigation Jump to search
m (Text replace - "Reference/en|" to "Commands|")
m (moved Reference/en/tooltip to Command/tooltip: Text replace - "Reference/en/" to "Command/")

Revision as of 01:41, 14 March 2012



[...] left right middle
{...} text
{...} text



Here is a typical example (this works only with PDF viewers which are JavaScript compatible, such as Adobe Acrobat):


Here is an example: by saying
\type{\tooltip[left]{Example}{Is it nice}}, we get 
\midaligned{\tooltip[bottom]{Example}{Isn't it nice?}}

This file when opened in Adobe Acrobat will show the tooltip "Isn't it nice?" when one hovers over the word "Example".

\midaligned{\tooltip[bottom]{an example}{Isn't it nice?}  of tooltip on the bottom}
\midaligned{an example of tooltip on the \tooltip[right]{right}{Isn't it nice?}}
\midaligned{\tooltip[left]{an}{Isn't it nice?}  example of tooltip on the left}


See also