Debian Codegraph @

texmf-dist/doc/latex/fancytooltips/examples/fancytooltips-example.tex

raw
1 \documentclass{article}
2
3 \usepackage[pdftex,designiii]{web}
4
5 \usepackage[filename=tooltipy,movetips,mouseover]{fancytooltips}
6
7 \let\rmdefault\sfdefault
8
9 \usepackage[shadein]{shadethm}
10
11 \newshadetheorem{definition}{Definition}
12
13 \usepackage{graphicx}
14
15 \definecolor{bkg}{rgb}{1,0.9,0.9}
16 \def\Message#1{\colorbox{bkg}{
17 \begin{minipage}{1\linewidth}
18 \smallskip
19 #1
20 \smallskip
21 \end{minipage}
22 }}
23 \begin{document}
24
25
26 \parindent 0 pt
27
28 \Message{
29 \begin{itemize}
30 \item Use Acrobat Reader or Adobe Acrobat to view this file, please.
31 \item The blue texts are covered by an active button. If you \textbf{move mouse over} one of
32 these buttons, tooltip appears. If you move your mouse out or if you
33 close the page, the tooltip disappears.
34 \item The first links are tooltips, the fifth one is animated tooltip.
35 \item The tooltips appears with the left down corner at the mouse
36 cursor, or at least as close as possible.
37 \end{itemize}
38 }
39
40 \begin{definition}
41 This is definition of \tooltip{rank}{2}.
42 \end{definition}
43
44
45 \begin{definition}
46 This is \tooltip{definition}3 of \tooltip{derivative}{1}. Filler
47 text. Filler text. Filler text. Filler text. Filler text. Filler text. Filler text. Filler text. Filler text. Filler text.
48 \tooltip{derivative}{1}.
49 \end{definition}
50
51
52 This is a geometric \tooltipanim{idea}{4}{28} which is behind the
53 definition of derivative.
54
55 \end{document}