From c9a59c1236ea9a6a8f45811f1ff8b8dd344f3076 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 26 Oct 2010 21:51:05 +0200 Subject: [PATCH] Makra: Kazda stranka ma v paticce cislo verze --- sgr.tex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sgr.tex b/sgr.tex index fba5dbb..2a31665 100644 --- a/sgr.tex +++ b/sgr.tex @@ -153,3 +153,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}} -- 2.39.2