forked from TIBHannover/semantic-glossar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
in-header.tex
53 lines (39 loc) · 1.49 KB
/
in-header.tex
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
\usepackage{hyphenat} % auto hyphenation
\usepackage{graphicx} % colors
\usepackage{wallpaper} % for the background image on title page
\usepackage{geometry} % for margins
\usepackage{xcolor,colortbl} % table colors
\usepackage{subcaption} % for multiple graphics
\usepackage{ragged2e} % text alignment
\usepackage[most]{tcolorbox} % boxes behind cover page text
\usepackage{setspace} % line spacing
\usepackage{parskip} % paragraph spacing
\usepackage{fvextra} % code hyphenation / styling
\usepackage{fontspec} % mono font
\usepackage[T1]{fontenc}
\usepackage{inconsolata}
\usepackage[all]{nowidow} % prevent single lines of text at the beginning or end of a page
\usepackage{soul} % For underlining
\setmonofont{inconsolata} % font for code bits
\setmainfont{MyriadPro}[
Path=./fonts/,
Extension = .ttf,
UprightFont=*-SemiCn,
BoldFont=*-BoldSemiCn,
ItalicFont=*-SemiCnIt,
BoldItalicFont=*-BoldSemiCnIt
]
%\onehalfspacing % line spacing
\setstretch{1}% Set line spacing
\setlength{\parskip}{0.25em}
\setlength{\parindent}{0pt}
\definecolor{cosmoblue}{RGB}{39,128,227}
\definecolor{thkoelnred}{RGB}{201,12,15}
\definecolor{thkoelnorange}{RGB}{234,91,12}
\definecolor{thkoelnviolet}{RGB}{184,37,133}
\definecolor{cosmoblack}{RGB}{55,58,60}
\usepackage{titlesec} % title and section spacing
% \titlespacing*{<command>}{<left>}{<before-sep>}{<after-sep>}
\titlespacing*{\section}{0pt}{1em}{0.1em}
\titlespacing*{\subsection}{0pt}{1em}{0.1em}
\arrayrulecolor{thkoelnviolet} % table color