1 % Makra pro sazbu zapisku z prednasky
17 % A5 s 1cm okraji, dolni rozsiren o 10pt, aby se tam veslo cislo stranky
20 \advance\vsize by -10pt
23 % Zacatek prednasky {cislo prednasky}{jmeno prednasky}{jmeno zapisovatele}
24 \def\prednaska#1#2#3{%
25 \line{{\Large\bf #1. #2} \hfil {\it #3}}
32 \def\h#1{\medbreak\leftline{\bf #1}\nobreak\smallskip\nobreak}
34 % Zvyrazneny zacatek odstavce coby podnadpis (napr. vety apod.)
35 \def\s#1{\noindent {\bo #1}}
37 % A kdyz stoji samostatne (aby se naodlamoval)
38 \def\ss#1{\noindent {\bo #1}\par\nobreak}
41 \def\proof{\noindent {\sl Dùkaz:} }
43 % Srdicko na konci dukazu
44 \def\qed{{\parfillskip=0pt\allowbreak\hfill\nobreak $\heartsuit$\par}}
47 \def\qeditem{{\parfillskip=0pt\hfill\rlap{\hskip\rightskip\llap{$\heartsuit$}}\par}}
52 \def\foot#1{\global\advance\footcnt by 1{\parindent=0.25in\parskip=0pt\footnote{$^{\left<\the\footcnt\right>}$}{#1}}}
54 % \noindent se casto hodi, tak na nej mame zkratku
69 \parskip=1pt plus 1pt minus 0.3pt
73 \def\endalgo{\interlistskip\endgroup}
78 \advance\itemcount by 1
79 \leavevmode\hbox to 2em{\hss \the\itemcount. }%
80 \futurelet\next\algoitemh}
81 \def\algoitemh{\ifx\next:\let\next=\algohang\else\let\next=\relax\fi\next}
82 \def\algohang:{\advance\hangindent by 2em \hskip 2em\futurelet\next\algoitemh}
84 % Nekolikapismenkova promenna (mozno pouzit v textovem i math modu)
85 \def\<#1>{\hbox{\it #1\/}}
90 % Vlozeni obrazku {obrazek}{popisek}{sirka}
91 \def\figure#1#2#3{\bigskip\vbox{\centerline{\epsfxsize=#3\epsfbox{#1}}\smallskip\centerline{#2}}\bigskip}
93 % Varianta bez popisku
94 \def\fig#1#2{\medskip\centerline{\epsfxsize=#2\epsfbox{#1}}\medskip}
96 % Dva obrazky vedle sebe s popiskami
97 \def\twofigures#1#2#3#4#5#6{\bigskip\centerline{\vbox{\halign{\hfil##\hfil\hskip 4em&\hfil##\hfil\cr
98 \epsfxsize=#3\epsfbox{#1}&\epsfxsize=#6\epsfbox{#4}\cr
102 % Obrazek vlozeny do praveho okraje odstavce {obrazek}{sirka}
103 % Pouzit na zacatku odstavce a nejlepe celou konstrukci zavrit do vboxu, aby se nerozlomila
105 \setbox0=\hbox{\epsfxsize=#2\epsfbox{#1}}
107 \advance\hangindent by -3em
109 \advance\dimen0 by 8ex
110 \advance\dimen0 by \normalbaselineskip
112 \divide\count0 by \normalbaselineskip
114 \dimen0=\normalbaselineskip
115 \multiply\dimen0 by \count0
118 \vbox to 0pt{\vbox to \dimen0{\vss\rightline{\box0\hskip 1em}\vss}}
123 \def\todo#1{{\bf TODO: \it #1}}
125 % Blackboard bold font
130 \textfont\bbfam=\bbten
131 \scriptfont\bbfam=\bbseven
132 \scriptscriptfont\bbfam=\bbfive
133 \def\bb{\bbten\fam\bbfam}
135 % Reference na konci kapitoly
136 %\bibliographystyle{abbrv}
137 %\def\references{\h{Literatura}\dumprefs}
139 %\def\bblhook{\parskip=2pt plus 1pt minus 0.5pt}
140 %\bibliography{../ga}
143 % Predefinujeme odsazovani odrazek z mjmacu
144 \def\itemspacingrules{\ifitem\advance\leftskip by \parindent\parindent=0pt\itemfalse\else
145 \advance\leftskip by 2.5em\fi\rightskip=\leftskip}
147 % Matematicke symboly
148 \def\symdiff{\mathop{\Delta}}