aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/tex
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-10-31 13:40:09 +0100
committerNao Pross <np@0hm.ch>2021-10-31 13:40:09 +0100
commitac09d6f42654ecd15ef42022ed2030bbdad1d369 (patch)
tree4b3b4e19e9f1b13a1aa6e44853b6b799e51ac100 /doc/thesis/tex
parentCreate tex/docstyle and fix notation in theory (diff)
downloadFading-ac09d6f42654ecd15ef42022ed2030bbdad1d369.tar.gz
Fading-ac09d6f42654ecd15ef42022ed2030bbdad1d369.zip
More styling
Diffstat (limited to '')
-rw-r--r--doc/thesis/tex/docstyle.sty32
1 files changed, 27 insertions, 5 deletions
diff --git a/doc/thesis/tex/docstyle.sty b/doc/thesis/tex/docstyle.sty
index 8b1cb80..3f0d76f 100644
--- a/doc/thesis/tex/docstyle.sty
+++ b/doc/thesis/tex/docstyle.sty
@@ -16,15 +16,25 @@
%% Pager headers and footers (using KOMA)
\PassOptionsToPackage{scrlayer-scrpage}{autooneside = false}
\RequirePackage{scrlayer-scrpage}
-\setkomafont{pagenumber}{\sffamily\bfseries\upshape}
+
+\setkomafont{pagenumber}{\sffamily\bfseries}
+\setkomafont{pageheadfoot}{\itshape}
+
% Add marks
\lehead{\leftmark}
\rohead{\rightmark}
%% Font configuration
-%% use roboto from sans serif
+% use roboto from sans serif
\RequirePackage{roboto}
+%% Floating captions configuration
+% set captions font
+\setkomafont{captionlabel}{\sffamily\bfseries}
+% set caption style
+\setcapindent{0pt}
+\renewcommand*{\captionformat}{\quad}
+
%% Bibliography style
\PassOptionsToPackage{biblatex}{%
backend = biber,
@@ -33,18 +43,30 @@
\RequirePackage{biblatex}
%% Set up links
+\RequirePackage{xcolor}
\PassOptionsToPackage{hyperref}{%
bookmarks = true,
+ %% TODO: set title
% pdftitle = {}
pdfsubject = {Semester Thesis}
pdfauthor = {Naoki Pross, Sara Halter}
plainpages = false,
psepdfpagelabels,
- urlcolor = black,
+}
+\RequirePackage{hyperref}
+\hypersetup{
+ % remove ugly boxes
+ hidelinks,
+ % set link colors
+ colorlinks = true,
+ anchorcolor = black,
citecolor = black,
+ filecolor = black,
linkcolor = black,
- colorlinks = true,
+ menucolor = black,
+ runcolor = black,
+ urlcolor = {black!50!blue},
+ urlcolor = black,
}
-\RequirePackage{hyperref}
% vim: set ts=2 sw=2 noet: