aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/tex/docstyle.sty
blob: 8b1cb801dc9655fb1be3004dd2eb61b071c5a655 (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
45
46
47
48
49
50
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{tex/docstyle}[2021/10/31 v0.1 Document Style]

%% Page Margins (done with KOMA)
% \PassOptionsToPackage{geometry}{
% 	a4paper, showframe
% }
% \RequirePackage{geometry}
% \AfterCalculatingTypearea{%
% 	\geometry{%
% 			inner = 1cm, outer = 1cm, includeheadfoot
% 			top = 3cm, bottom = 3cm
% 	}
% }

%% Pager headers and footers (using KOMA)
\PassOptionsToPackage{scrlayer-scrpage}{autooneside = false}
\RequirePackage{scrlayer-scrpage}
\setkomafont{pagenumber}{\sffamily\bfseries\upshape}
% Add marks
\lehead{\leftmark}
\rohead{\rightmark}

%% Font configuration
%% use roboto from sans serif
\RequirePackage{roboto}

%% Bibliography style
\PassOptionsToPackage{biblatex}{%
	backend = biber,
	style = ieeee,
}
\RequirePackage{biblatex}

%% Set up links
\PassOptionsToPackage{hyperref}{%
	bookmarks = true,
	% pdftitle = {}
	pdfsubject = {Semester Thesis}
	pdfauthor = {Naoki Pross, Sara Halter}
	plainpages = false,
	psepdfpagelabels,
	urlcolor = black,
	citecolor = black,
	linkcolor = black,
	colorlinks = true,
}
\RequirePackage{hyperref}

% vim: set ts=2 sw=2 noet: