summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex')
-rw-r--r--Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex52
1 files changed, 40 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
index 3fff46ebb60..3900839282e 100644
--- a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
+++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex
@@ -2,6 +2,7 @@
% \usepackage[czech]{babel}
% \usepackage[IL2]{fontenc}
+\pagestyle{empty}
\usepackage[createtips]{fancytooltips}
\usepackage{fancybox}
@@ -15,18 +16,37 @@
\usepackage{multido,graphicx}
\usepackage[papersize={5in,5in},margin=1pt]{geometry}
\long\def\stranka#1#2{
- \begin{flushright}
+\setbox0=\hbox{\begin{minipage}{2in}
\fboxsep 0 pt
\color{red}
\shadowbox{{\fboxsep 4pt\colorbox{yellow}
- {\begin{minipage}{0.5\linewidth}
+ {\begin{minipage}{\linewidth}
\color{black}#2
\end{minipage}}}}
- \end{flushright}
+\end{minipage}\ \ \ \ }
+\pdfpagewidth=\wd0
+\pdfpageheight=\ht0
+\advance \pdfpageheight by \dp0
+\copy0
\keytip{#1}
\newpage
}
+\long\def\strankaB#1#2{
+\setbox0=\hbox{\fboxsep 0 pt
+\color{red}
+\shadowbox{{\fboxsep 4pt\colorbox{yellow}
+ {\color{black}#2
+ }}}}
+\pdfpagewidth=\wd0
+\pdfpageheight=\ht0
+\advance \pdfpageheight by \dp0
+\copy0
+\keytip{#1}
+ \newpage
+}
+
+
\def\definice#1{
\begin{center}
\colorbox{gray}{\begin{minipage}{0.9\linewidth} #1
@@ -55,18 +75,26 @@
linear approximation.} \vypocet{The derivative can be evaluated
using appropriate formulas}}
-\stranka{hodnost}{ \definice{\textbf{Rank} is a maximal number of linearly independent rows in a matrix.}
-\vyuziti{Rank can be used to prove or disprove linear independence of vectors and it also appears in the Frobenius Theorem.}
-\vypocet{To find the rank of a matrix, you have to convert this matrix into row echelon form.}}
+\stranka{hodnost}{ \definice{\textbf{Rank} is a maximal number of
+ linearly independent rows in a matrix.} \vyuziti{Rank can be used
+ to prove or disprove linear independence of vectors and it also
+ appears in the Frobenius Theorem.} \vypocet{To find the rank of a
+ matrix, you have to convert this matrix into row echelon form.}}
+
+\strankaB{definition}{???}
+\pdfpageheight=0pt
+\pdfpagewidth=0pt
-\def\obrazek#1{
- \begin{flushright}
- \color{red}
- \fboxsep 0 pt{\shadowbox{{\color{black}\includegraphics[width=0.8\hsize,
- page=#1,viewport= 0 57 350 230,clip]{tecna2.pdf}}}}
- \end{flushright}
+\def\obrazek#1{%
+\setbox0=\hbox{\color{red}%
+ \fboxsep 0 pt{\shadowbox{{\color{black}\includegraphics[width=3.5in,
+ page=#1,viewport= 0 57 350 230,clip]{tecna2.pdf}}}}}
+\pdfpagewidth=\wd0
+\pdfpageheight=\ht0
+\advance \pdfpageheight by \dp0
+\copy0
\newpage}