summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytooltips-example-dvips.tex
blob: 0118a55c2c6c9c3e2184ee7394b1612145329a1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
\documentclass{article}

\usepackage{color}
\usepackage[dvips,designiii]{web}
\usepackage[display]{texpower}
\let\pdfsavepos\undefined
\usepackage[dvips,filename=tooltipy,movetips,pages=28]{fancytooltips}

\let\rmdefault\sfdefault

\usepackage{amsmath}
\usepackage[shadein]{shadethm}

\newshadetheorem{definice}{Definition}

\usepackage{graphicx}

\definecolor{bkg}{rgb}{1,0.9,0.9}
\def\Message#1{\colorbox{bkg}{
      \begin{minipage}{1\linewidth}
        \smallskip
      #1
        \smallskip
      \end{minipage}
 }}
\begin{document}


\parindent 0 pt

\Message{
\begin{itemize}
\item Use Acrobat Reader or Adobe Acrobat and View--Page
  Layout--Single page to view this file, please.
\item The blue text is active button. If you \textbf{click} one of
  these buttons, tooltip appears. If you move your mouse out or if you
  close the page, the tooltip disappears.
\item The first links are tooltips, the fifth one is animated tooltip.
\item The tooltips appears with the left down corner at the mouse
  cursor, or at least as close as possible. Click on different
  positions of the same button and have a fun.
\end{itemize}
}

\begin{definice}
  This is definition of  \tooltip{rank}{2}. bla bla bla.
\end{definice}

\begin{definice}
  This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
  \tooltip{derivative}{1}.
\end{definice}

\pause
This is a geometric \tooltipanim{idea}{4}{28} which is behind the
definition of derivative.


\pause
\vfill 
\begin{definice}
  This is \tooltip{definition}3 of \tooltip{derivative}{1}\hfill
  \tooltip{derivative}{1}.
\end{definice}

\end{document}