blob: 14b85fefed9bfc5c4020aa63555611034dd3fef3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
% Seitenstil fuer Literarisches
\RequirePackage{ifthen}
\ifthenelse{\boolean{@twoside}}
% zweiseitig
{\newcommand{\ps@literature}{
\let\@mkboth\markboth
\renewcommand{\chaptermark}[1]
{\markboth{\@chapapp~\thechapter%
\hspace{1em}##1}{}}
\renewcommand{\sectionmark}[1]
{\markright{\thesection\hspace{1em}##1}}
\renewcommand{\subsectionmark}[1]{}
\renewcommand{\@oddfoot}{}
\renewcommand{\@evenfoot}{}
\renewcommand{\@oddhead}
{\vbox{\hsize=\textwidth
\hbox to \textwidth{\hfil%
{\small\scshape\rightmark}\hfil\thepage}%
\vskip3pt\hrule height1pt \vskip1pt \hrule}}
\renewcommand{\@evenhead}
{\vbox{\hsize=\textwidth
\hbox to \textwidth{\thepage\hfil%
\small\scshape\leftmark\hfil}%
\vskip3pt\hrule height1pt \vskip1pt \hrule}}
}
}
% einseitig
{\newcommand{\ps@literature}{
\let\@mkboth\markboth
\renewcommand{\chaptermark}[1]{}
\renewcommand{\sectionmark}[1]
{\markright{\thesection\hspace{1em}##1}}
\renewcommand{\subsectionmark}[1]{}
\renewcommand{\@oddfoot}{}
\renewcommand{\@evenfoot}{}
\renewcommand{\@oddhead}
{\vbox{\hsize=\textwidth
\hbox to \textwidth{\hfil%
{\small\scshape\rightmark}\hfil\thepage}%
\vskip3pt\hrule height1pt \vskip1pt \hrule}}
\renewcommand{\@evenhead}{}
}
}
|