diff options
-rw-r--r-- | doc/thesis/tex/docstyle.sty | 32 |
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: |