style page footer via koma
authorTobias Pape <tobias@netshed.de>
Fri, 27 Dec 2013 18:16:32 +0000 (19:16 +0100)
committerTobias Pape <tobias@netshed.de>
Sat, 28 Dec 2013 00:26:10 +0000 (01:26 +0100)
src/applied-crypto-hardening.tex

index e08348a..6193648 100644 (file)
@@ -142,15 +142,19 @@ morekeywords={__global__, __device__},  %
 
 \addtokomafont{disposition}{\color{darkblue}\bfseries}
 \usepackage[footsepline]{scrpage2}
+\setkomafont{pagefoot}{\normalfont\sffamily\footnotesize}
 \usepackage{lastpage}
 
 \ifoot%
-[{\footnotesize Applied Crypto Hardening \textbullet ~Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName}]%
-{{\footnotesize Applied Crypto Hardening \textbullet ~Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName}}
+[Applied Crypto Hardening \textbullet{} Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName]%
+{Applied Crypto Hardening \textbullet{} Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName}
 \cfoot[]{}
 \ofoot%
-[{\footnotesize page \thepage\ of \pageref{LastPage}}]%
-{{\footnotesize page \thepage\ of \pageref{LastPage}}}
+[page \thepage\ of \pageref{LastPage}]%
+{page \thepage\ of \pageref{LastPage}}
+
+\renewcommand*{\chapterpagestyle}{scrheadings}
+
 
 % Creating a horizontal rule
 \newcommand{\HorRule}{\color{darkblue}%