\input mjmac.tex
\input epsf.tex
\input btxmac.tex
+\input amssym.tex
\language=\czech
\chyph
% Zacatek prednasky {cislo prednasky}{jmeno prednasky}{jmeno zapisovatele}
\def\prednaska#1#2#3{%
+\prechapter{#1}{#2}
+\vbox{%
\line{{\Large\bf #1. #2} \hfil {\it #3}}
\vskip 4pt
-\hrule
+\hrule}
\medskip
}
+\def\prechapter#1#2{}
% Nadpis {text}
\def\h#1{\medbreak\leftline{\bf #1}\nobreak\smallskip\nobreak}
\begingroup
\let\:=\algoitem
\let\*=\algohang
-\parskip=1pt plus 1pt minus 0.3pt
+\parskip=1pt plus 0.2pt minus 0.3pt
\rightskip=2em
\itemcount=0
}
\def\algohang:{\advance\hangindent by 2em \hskip 2em\futurelet\next\algoitemh}
% Nekolikapismenkova promenna (mozno pouzit v textovem i math modu)
-\def\<#1>{\hbox{\it #1\/}}
+\def\<#1>{\leavevmode\hbox{\it #1\/}}
% Asymptoticke O-cko
\def\O{{\cal O}}
\multiply\dimen0 by \count0
\vbox to 0pt{}
\nointerlineskip
-\vbox to 0pt{\vbox to \dimen0{\vss\rightline{\box0\hskip 1em}\vss}}
+\vbox to 0pt{\vbox to \dimen0{\vss\rightline{\box0\hskip 1em}\vss}\vss}
\nointerlineskip
}
% Matematicke symboly
\def\symdiff{\mathop{\Delta}}
+
+% Ujisti se, ze na strance je dostatek mista, pripadne zacne novou stranku
+\def\checkroom#1{\vskip 0pt plus #1\goodbreak\vskip 0pt plus -#1}
+
+% Hacky pro finalni sazbu
+\def\separatefix#1{#1}
+\def\finalfix#1{}
+
+% Cislovani verzi
+\def\currentversion{%
+\the\year
+-\ifnum\month<10\relax 0\fi\the\month
+-\ifnum\day<10\relax 0\fi\the\day
+}
+
+\footline={\hfil {\tenrm\the\count0}\hfil \llap{\sevenrm\currentversion}}