% ----------------------------------------- % This LaTeX file is part of an example % general purpsoe document % ----------------------------------------- % Copyright (C) 2020 by Nils Freydank, % % License: CC BY-SA 4.0 International. % see COPYING-CC-BY-SA for more details % ----------------------------------------- % \makeatletter % header from "inside" via "center" to "outside" % If the version file exists ... \IfFileExists{cachedir/version.tex} % ... write the version/revision into every page {\ihead*{\date \~ \input{cachedir/version.tex}}} % ... otherwise only the date {\ihead{\date}} \chead{\headercontent} \automark[chapter]{chapter} \ohead{} \ifoot*{\small{\footercontent}} \ofoot*{\pagemark} \makeatother % vim:fileencoding=utf-8:ts=4:syntax=tex:colorcolumn=81:noexpandtab