Skip to content
Snippets Groups Projects
Commit 5215e9ea authored by Martin Mareš's avatar Martin Mareš
Browse files

Macros: Footers

parent 7f0a1288
Branches
No related tags found
No related merge requests found
\ifx\chapter\undefined
\input adsmac.tex
\setchapter{1}
\singlechapter{1}
\fi
\def\optable#1{$$
......
......@@ -410,11 +410,6 @@
%% \doubleeject
}}
% Při sázení samostatných kapitol jim nastavujeme čísla
\def\setchapter#1{
\chapcount=\numexpr #1-1\relax
}
% Kapitola bez nadpisu
\def\dofakechapter#1{
\separatorpage{#1}
......@@ -907,7 +902,14 @@
\headline={{\setfonts[LMRoman/9]\rm---~~\firstmark\hfil}}
\footline={\ifodd\count0\currentversion\hfil\fi{\pagenumfont\folio}\ifodd\count0\else\hfil\currentversion\fi}
\footline={
\ifodd\count0
\rlap{\currentversion}\midfoot\llap{\pagenumfont\folio}
\else
\rlap{\pagenumfont\folio}\midfoot\llap{\currentversion}
\fi
}
\def\midfoot{\hfil{\setfonts[LMRoman/8]\it Martin Mareš: Lecture notes on data structures}\hfil}
\def\barepage{\headline={}\footline={}}
......@@ -1086,6 +1088,12 @@
\ebookfalse
\fi
%%% Sázení samostatných kapitol %%%
\def\singlechapter#1{
\chapcount=\numexpr #1-1\relax
}
%%% Konec %%%
\catcode`@=12
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment