add headline + footer
This commit is contained in:
parent
b740636a66
commit
beeb2852c6
|
@ -28,6 +28,14 @@
|
||||||
DIV=15,
|
DIV=15,
|
||||||
%headheight=36px
|
%headheight=36px
|
||||||
]{scrartcl}
|
]{scrartcl}
|
||||||
|
|
||||||
|
\RequirePackage{xkeyval}
|
||||||
|
\newcommand{\@volume}{}
|
||||||
|
\DeclareOptionX{volume}{\renewcommand{\@volume}{#1}}%
|
||||||
|
\newcommand{\@year}{}
|
||||||
|
\DeclareOptionX{year}{\renewcommand{\@year}{#1}}%
|
||||||
|
\ProcessOptionsX
|
||||||
|
|
||||||
\RequirePackage{ifxetex}
|
\RequirePackage{ifxetex}
|
||||||
\ifxetex
|
\ifxetex
|
||||||
\RequirePackage{fontspec}
|
\RequirePackage{fontspec}
|
||||||
|
@ -39,6 +47,14 @@
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
|
|
||||||
|
\RequirePackage{scrpage2}
|
||||||
|
\pagestyle{scrheadings}
|
||||||
|
\setheadsepline{0.5pt}
|
||||||
|
|
||||||
|
\ifoot[]{Datenschleuder. \@volume / \@year}
|
||||||
|
\ofoot[]{\thepage}
|
||||||
|
\setfootsepline{0.5pt}
|
||||||
|
|
||||||
%FIXME: use abstract environment in prior of nasty DSabstract command
|
%FIXME: use abstract environment in prior of nasty DSabstract command
|
||||||
\renewenvironment{abstract}{%
|
\renewenvironment{abstract}{%
|
||||||
\begin{center}
|
\begin{center}
|
||||||
|
@ -65,7 +81,6 @@
|
||||||
\normalsize
|
\normalsize
|
||||||
}
|
}
|
||||||
|
|
||||||
\RequirePackage{xkeyval}
|
|
||||||
\define@key{DSarticleKeys}{title}{\renewcommand{\@title}{#1}}%
|
\define@key{DSarticleKeys}{title}{\renewcommand{\@title}{#1}}%
|
||||||
\define@key{DSarticleKeys}{author}{\author{#1}}
|
\define@key{DSarticleKeys}{author}{\author{#1}}
|
||||||
\define@key{DSarticleKeys}{DSabstract}{\renewcommand{\@DSabstract}{#1}}
|
\define@key{DSarticleKeys}{DSabstract}{\renewcommand{\@DSabstract}{#1}}
|
||||||
|
|
Loading…
Reference in New Issue