% Makra pro sazbu zapisku z prednasky
-\input mjmac.tex
+\input ucwmac.tex
+\input ucw-verb.tex
+\input ucw-ofs.tex
\input epsf.tex
-%%\input btxmac.tex
\language=\czech
\chyph
\lefthyphenmin=2
\righthyphenmin=2
-
-% A4 s 0.5in okraji
-%\hsize=184.6mm
-%\vsize=271.6mm
-%\parindent=0.25in
+\inlineverbon
% A5 s 1cm okraji, dolni rozsiren o 10pt, aby se tam veslo cislo stranky
-\hsize=128mm
-\vsize=190mm
-\advance\vsize by -10pt
+\setmargins{1cm}
+\advance\bottommargin by 10pt
+\setpaper{a5}
\parindent=0.8cm
% Zacatek prednasky {cislo prednasky}{jmeno prednasky}{jmeno zapisovatele}
\def\prednaska#1#2#3{%
-\line{{\Large\bf #1. #2} \hfil {\it #3}}
+\line{{\setfonts[/14]\bf #1. #2} \hfil {\it #3}}
\vskip 4pt
\hrule
\medskip
% Srdicko na konci dukazu
\def\qed{{\parfillskip=0pt\allowbreak\hfill\nobreak $\heartsuit$\par}}
-% pokud je v seznamu:
+% ... pokud je v seznamu:
\def\qeditem{{\parfillskip=0pt\hfill\rlap{\hskip\rightskip\llap{$\heartsuit$}}\par}}
% Poznamky pod carou
% \endalgo
\def\algo{
-\interlistskip
\begingroup
+\vskip\preitemizeskip
\let\:=\algoitem
\parskip=1pt plus 1pt minus 0.3pt
\rightskip=2em
\itemcount=0
}
-\def\endalgo{\interlistskip\endgroup}
+\def\endalgo{\vskip\postitemizeskip\endgroup}
\def\algopar{\par
\parindent=2em
\hangindent=4em
\def\algin{\:{\I Vstup:} }
\def\algout{\:{\I Výstup:} }
+% Priraditko
+\def\={\leftarrow}
+
+% Komentar v programu
+\def\cmt#1{~~{\sl (#1)}}
+
% 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}}
% Todo
\def\todo#1{{\bf TODO: \it #1}}
-% Blackboard bold font
-\newfam\bbfam
-\font\bbten=bbold10
-\font\bbseven=bbold7
-\font\bbfive=bbold5
-\textfont\bbfam=\bbten
-\scriptfont\bbfam=\bbseven
-\scriptscriptfont\bbfam=\bbfive
-\def\bb{\bbten\fam\bbfam}
-
-% Reference na konci kapitoly
-%\bibliographystyle{abbrv}
-%\def\references{\h{Literatura}\dumprefs}
-%\def\dumprefs{
-%\def\bblhook{\parskip=2pt plus 1pt minus 0.5pt}
-%\bibliography{../ga}
-%}
-
-% Predefinujeme odsazovani odrazek z mjmacu
-\def\itemspacingrules{\ifitem\advance\leftskip by \parindent\parindent=0pt\itemfalse\else
-\advance\leftskip by 2.5em\fi\rightskip=\leftskip}
-
% Matematicke symboly
\def\symdiff{\mathop{\Delta}}
+
+%%% 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}}