-
Notifications
You must be signed in to change notification settings - Fork 2
/
syssec-report.cls
58 lines (45 loc) · 1.66 KB
/
syssec-report.cls
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[2015/01/01]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% load base class
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\LoadClass[twosided = false, openright,titlepage,numbers=noenddot,cleardoublepage=empty,BCOR=5mm,a4paper,fontsize=12pt, DIV=calc]{scrreprt}
\ProvidesClass{classes/syssec-report}[2017/12/29 Uni-DUE SYSSEC report class]
\input{syssec-common.cls}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LaTeX parameters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[acronyms, nomain, style=tree, toc, section=chapter, nogroupskip=true]{glossaries}
\RequirePackage{etoolbox}
\preto\chapter\glsresetall
\def\toc@heading{
\chapter*{\contentsname}
\@mkboth{\textsc{\contentsname}}{\textsc{\contentsname}}
}
% start section on a new page
% \newcommand{\sectionbreak}{\clearpage}
%
\lfoot[\@stringTitle]{\@title}
\pagestyle{fancy}
\renewcommand{\footrulewidth}{0.4pt}
\fancyhead[LE,RO]{ \nouppercase \rightmark}
\fancyhead[LO,RE]{\nouppercase \leftmark}
\fancyfoot[C]{\thepage}
\rfoot[\thepage]{\thepage}
\cfoot[]{}
\setlength{\headsep}{1cm}
\fancypagestyle{plain}{
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.4pt}
\fancyhead[LE,RO]{\nouppercase}
\fancyhead[LO,RE]{\nouppercase}
\fancyfoot[C]{\thepage}
\rfoot[\thepage]{\thepage}
\cfoot[]{}
\lfoot[\@stringTitle]{\@title}
\setlength{\headsep}{1cm}
}