X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=sgr.tex;h=af8cdae26d5f97574ce75d273dad6cf045efed81;hb=75be71c378500ebfe20f7a0c55d14e2107eb7d8b;hp=a7161ffcfd55f8b6af83dce98688ef2200b1786d;hpb=9b5b0e08680a334307db2a924bee7e17378f584e;p=ga.git diff --git a/sgr.tex b/sgr.tex index a7161ff..af8cdae 100644 --- a/sgr.tex +++ b/sgr.tex @@ -3,6 +3,7 @@ \input mjmac.tex \input epsf.tex \input btxmac.tex +\input amssym.tex \language=\czech \chyph @@ -86,7 +87,7 @@ \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}} @@ -128,7 +129,7 @@ % Blackboard bold font \newfam\bbfam -\font\bbten=bbold10 +\font\bbten=bbm10 \textfont\bbfam=\bbten \def\bb{\bbten\fam\bbfam} @@ -153,3 +154,12 @@ % 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}}