% Makra pro sazbu skripticek o grafovych algoritmech
\input mjmac.tex
-\input epsf.tex
\input btxmac.tex
+\input amssym.tex
\language=\czech
\chyph
%\parindent=0.25in
% A5 s 1cm okraji, dolni rozsiren o 10pt, aby se tam veslo cislo stranky
+\pdfpagewidth=148mm
+\pdfpageheight=210mm
+\pdfvorigin=10mm
+\pdfhorigin=10mm
\hsize=128mm
\vsize=190mm
\advance\vsize by -10pt
% A kdyz stoji samostatne (aby se naodlamoval)
\def\ss#1{\noindent {\bo #1}\par\nobreak}
-% Dùkaz
-\def\proof{\noindent {\sl Dùkaz:} }
+% Důkaz
+\def\proof{\noindent {\sl Důkaz:} }
% Ctverecek na konci dukazu
%\def\qed{{\parfillskip=0pt\quad\hfil\hbox{\I QED} \par}}
% Asymptoticke O-cko
\def\O{{\cal O}}
-% Vlozeni obrazku {obrazek}{popisek}{sirka}
-\def\figure#1#2#3{\bigskip\vbox{\centerline{\epsfxsize=#3\epsfbox{#1}}\smallskip\centerline{#2}}\bigskip}
+% Vlozeni obrazku {obrazek}{popisek}{width sirka}
+\def\putepdf#1#2{\hbox{\pdfximage #1{#2}\pdfrefximage\pdflastximage}}
+\def\figure#1#2#3{\bigskip\vbox{\centerline{\putepdf{#3}{#1}}\smallskip\centerline{#2}}\bigskip}
% Varianta bez popisku
-\def\fig#1#2{\medskip\centerline{\epsfxsize=#2\epsfbox{#1}}\medskip}
+\def\fig#1#2{\medskip\centerline{\putepdf{#2}{#1}}\medskip}
% Dva obrazky vedle sebe s popiskami
\def\twofigures#1#2#3#4#5#6{\bigskip\centerline{\vbox{\halign{\hfil##\hfil\hskip 4em&\hfil##\hfil\cr
-\epsfxsize=#3\epsfbox{#1}&\epsfxsize=#6\epsfbox{#4}\cr
+\putepdf{#3}{#1}&\putepdf{#6}{#4}\cr
\noalign{\smallskip}
#2\cr}}}\bigskip}
% Obrazek vlozeny do praveho okraje odstavce {obrazek}{sirka}
% Pouzit na zacatku odstavce a nejlepe celou konstrukci zavrit do vboxu, aby se nerozlomila
\def\inlinefig#1#2{
-\setbox0=\hbox{\epsfxsize=#2\epsfbox{#1}}
+\setbox0=\hbox{\putepdf{#2}{#1}}
\hangindent=-\wd0
\advance\hangindent by -3em
\dimen0=\ht0
% Blackboard bold font
\newfam\bbfam
-\font\bbten=bbold10
+\font\bbten=bbm10
\textfont\bbfam=\bbten
\def\bb{\bbten\fam\bbfam}