1 % Makra pro sazbu poznamek ze Seminare z grafovych algoritmu
15 % Zacatek prednasky {cislo prednasky}{jmeno prednasky}{jmeno zapisovatele}
16 \def\prednaska#1#2#3{%
17 \line{{\Large\bf #1. #2} \hfil {\it (#3)}}
24 \def\h#1{\bigbreak\leftline{\bf #1}\smallskip}
26 % Zvyrazneny zacatek odstavce coby podnadpis (napr. vety apod.)
27 \def\s#1{\noindent {\bo #1}}
29 % Ctverecek na konci dukazu
30 %\def\qed{{\parfillskip=0pt\quad\hfil\hbox{\I QED} \par}}
31 \def\qed{\hfill\allowbreak\hfill\nobreak $\heartsuit$\par}
36 \def\foot#1{\global\advance\footcnt by 1{\parindent=0.25in\parskip=0pt\footnote{$^{[\the\footcnt]}$}{#1}}}
38 % \noindent se casto hodi, tak na nej mame zkratku
53 \parskip=1pt plus 1pt minus 0.3pt
56 \def\endalgo{\interlistskip\endgroup}
61 \advance\itemcount by 1
62 \leavevmode\hbox to 2em{\hss \the\itemcount. }%
63 \futurelet\next\algoitemh}
64 \def\algoitemh{\ifx\next:\let\next=\algohang\else\let\next=\relax\fi\next}
65 \def\algohang:{\advance\hangindent by 2em \hskip 2em\futurelet\next\algoitemh}
67 % Nekolikapismenkova promenna (mozno pouzit v textovem i math modu)
68 \def\<#1>{\hbox{\it #1}}
73 % Vlozeni obrazku {obrazek}{popisek}{sirka}
74 \def\figure#1#2#3{\bigskip\vbox{\centerline{\epsfxsize=#3\epsfbox{#1}}\smallskip\centerline{#2}}\bigskip}