| 1 |
\documentclass{article} |
| 2 |
% \usepackage[czech]{babel} |
| 3 |
% \usepackage[IL2]{fontenc} |
| 4 |
|
| 5 |
\pagestyle{empty} |
| 6 |
\usepackage[createtips]{fancytooltips} |
| 7 |
|
| 8 |
\usepackage{fancybox} |
| 9 |
\parindent 0 pt |
| 10 |
|
| 11 |
\usepackage{color} |
| 12 |
\definecolor{gray}{rgb}{0.8, 0.8, 0.8} |
| 13 |
\definecolor{lightblue}{rgb}{0.7, 0.7, 1} |
| 14 |
\definecolor{lightgreen}{rgb}{0.7, 1, 0.7} |
| 15 |
|
| 16 |
\usepackage{multido,graphicx} |
| 17 |
\usepackage[papersize={5in,5in},margin=1pt]{geometry} |
| 18 |
\long\def\stranka#1#2{ |
| 19 |
\setbox0=\hbox{\begin{minipage}{2in} |
| 20 |
\fboxsep 0 pt |
| 21 |
\color{red} |
| 22 |
\shadowbox{{\fboxsep 4pt\colorbox{yellow} |
| 23 |
{\begin{minipage}{\linewidth} |
| 24 |
\color{black}#2 |
| 25 |
\end{minipage}}}} |
| 26 |
\end{minipage}\ \ \ \ } |
| 27 |
\pdfpagewidth=\wd0 |
| 28 |
\pdfpageheight=\ht0 |
| 29 |
\advance \pdfpageheight by \dp0 |
| 30 |
\copy0 |
| 31 |
\keytip{#1} |
| 32 |
\newpage |
| 33 |
} |
| 34 |
|
| 35 |
\long\def\strankaB#1#2{ |
| 36 |
\setbox0=\hbox{\fboxsep 0 pt |
| 37 |
\color{red} |
| 38 |
\shadowbox{{\fboxsep 4pt\colorbox{yellow} |
| 39 |
{\color{black}#2 |
| 40 |
}}}} |
| 41 |
\pdfpagewidth=\wd0 |
| 42 |
\pdfpageheight=\ht0 |
| 43 |
\advance \pdfpageheight by \dp0 |
| 44 |
\copy0 |
| 45 |
\keytip{#1} |
| 46 |
\newpage |
| 47 |
} |
| 48 |
|
| 49 |
|
| 50 |
\def\definice#1{ |
| 51 |
\begin{center} |
| 52 |
\colorbox{gray}{\begin{minipage}{0.9\linewidth} #1 |
| 53 |
\end{minipage}} |
| 54 |
\end{center} |
| 55 |
} |
| 56 |
\def\vyuziti#1{ |
| 57 |
\begin{center} |
| 58 |
\colorbox{lightblue}{\begin{minipage}{0.9\linewidth} #1 |
| 59 |
\end{minipage}} |
| 60 |
\end{center} |
| 61 |
} |
| 62 |
\def\vypocet#1{ |
| 63 |
\begin{center} |
| 64 |
\colorbox{lightgreen}{\begin{minipage}{0.9\linewidth} #1 |
| 65 |
\end{minipage}} |
| 66 |
\end{center} |
| 67 |
} |
| 68 |
|
| 69 |
|
| 70 |
\begin{document} |
| 71 |
|
| 72 |
\stranka{derivace}{ \definice{The \textbf{derivative} is the limit |
| 73 |
$$\lim_{h\to0}\frac{f(x+h)-f(x)}h,$$ if this limit exists as a finite number.} \vyuziti{ The derivative |
| 74 |
has important applications in physics as a rate of change and as a |
| 75 |
linear approximation.} \vypocet{The derivative can be evaluated |
| 76 |
using appropriate formulas}} |
| 77 |
|
| 78 |
\stranka{hodnost}{ \definice{\textbf{Rank} is a maximal number of |
| 79 |
linearly independent rows in a matrix.} \vyuziti{Rank can be used |
| 80 |
to prove or disprove linear independence of vectors and it also |
| 81 |
appears in the Frobenius Theorem.} \vypocet{To find the rank of a |
| 82 |
matrix, you have to convert this matrix into row echelon form.}} |
| 83 |
|
| 84 |
\strankaB{definition}{???} |
| 85 |
|
| 86 |
\pdfpageheight=0pt |
| 87 |
|
| 88 |
\pdfpagewidth=0pt |
| 89 |
|
| 90 |
\def\obrazek#1{% |
| 91 |
\setbox0=\hbox{\color{red}% |
| 92 |
\fboxsep 0 pt{\shadowbox{{\color{black}\includegraphics[width=3.5in, |
| 93 |
page=#1,viewport= 0 57 350 230,clip]{tecna2.pdf}}}}} |
| 94 |
\pdfpagewidth=\wd0 |
| 95 |
\pdfpageheight=\ht0 |
| 96 |
\advance \pdfpageheight by \dp0 |
| 97 |
\copy0 |
| 98 |
\newpage} |
| 99 |
|
| 100 |
|
| 101 |
\multido{\i=1+1}{25}{\obrazek{\i}} |
| 102 |
|
| 103 |
\end{document} |