add headline + footer
This commit is contained in:
parent
b740636a66
commit
beeb2852c6
|
@ -28,6 +28,14 @@
|
|||
DIV=15,
|
||||
%headheight=36px
|
||||
]{scrartcl}
|
||||
|
||||
\RequirePackage{xkeyval}
|
||||
\newcommand{\@volume}{}
|
||||
\DeclareOptionX{volume}{\renewcommand{\@volume}{#1}}%
|
||||
\newcommand{\@year}{}
|
||||
\DeclareOptionX{year}{\renewcommand{\@year}{#1}}%
|
||||
\ProcessOptionsX
|
||||
|
||||
\RequirePackage{ifxetex}
|
||||
\ifxetex
|
||||
\RequirePackage{fontspec}
|
||||
|
@ -39,6 +47,14 @@
|
|||
\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
|
||||
\renewenvironment{abstract}{%
|
||||
\begin{center}
|
||||
|
@ -65,7 +81,6 @@
|
|||
\normalsize
|
||||
}
|
||||
|
||||
\RequirePackage{xkeyval}
|
||||
\define@key{DSarticleKeys}{title}{\renewcommand{\@title}{#1}}%
|
||||
\define@key{DSarticleKeys}{author}{\author{#1}}
|
||||
\define@key{DSarticleKeys}{DSabstract}{\renewcommand{\@DSabstract}{#1}}
|
||||
|
|
Loading…
Reference in New Issue