preamble.tex 3.96 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
% This is the preamble of the documents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%   PACKAGES   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[a4paper]{article}
\usepackage[table]{xcolor}
\usepackage{amsmath}  %environment to group formulas 
\usepackage{amssymb} %additional symbols (from msam and msmb)
\usepackage{amsfonts}
%\usepackage{biblatex} %for citations and bibliography
Alexander Schoch's avatar
Alexander Schoch committed
14
\usepackage[german]{babel}
15
\usepackage{booktabs} %for \toprule (tables with nicer horizontal lines)
16
%\usepackage{caption}
17
18
%\usepackage{cite}
\usepackage{chemfig} %for chemical figures
Alexander Schoch's avatar
Alexander Schoch committed
19
20
\usepackage{etoolbox}
\usepackage[answerdelayed]{exercise}
21
\usepackage{fancyhdr} %for customisation of the header (also offers additional pagestyle 'fancy' that includes a line underneath the header)
Alexander Schoch's avatar
Alexander Schoch committed
22
23
24
%\usepackage{floatrow}
\usepackage{float}
%\floatsetup[table]{capposition=top}
Alexander Schoch's avatar
Alexander Schoch committed
25
\usepackage[T1]{fontenc}
26
27
28
29
\usepackage{footmisc} %for typesetting of footnotes
\usepackage[margin=1in]{geometry} %set page margins (layout)
\usepackage{graphicx} %to include figures, rotating and scaling text
\usepackage{hyperref} %automatically inserts hyperlinks into the text (also for chapters etc.)
Alexander Schoch's avatar
Alexander Schoch committed
30
\usepackage[utf8]{inputenc}
31
32
33
34
35
36
37
38
39
40
41
42
\usepackage{lipsum} %insert placeholder text by typing '\lipsum'
%\usepackage[version=3]{mhchem} %chemical notation
\usepackage{microtype} %improves appearance of written text blocks
\usepackage{multicol} %for quickly setting multicolumn text in a single column document
\usepackage[parfill]{parskip}  %no indentation and space between paragraphs
\usepackage{pdfpages} %easily insert pdf pages or whole documents
\usepackage{setspace} %for setting the spacing between lines inside the document 
\usepackage{siunitx} %facilitates typesetting SI units + 'S' column type -> aligning numbers e.g. on decimal marker
%\usepackage{subfig} %to place small figures or tables within a single figure
\usepackage{subcaption}
%\captionsetup{belowskip=0pt,aboveskip=0pt}
\usepackage{tabularx} % extra features for tabular environment
Alexander Schoch's avatar
Alexander Schoch committed
43
%\usepackage{textpos} %placement of text at absolute positions on the page
44
45
46
\usepackage{tikzorbital}
\usepackage{titlesec} %no indented section titles
\usepackage{titling}  %to modify '\maketitle' 
47
48
49
50
\usepackage{longtable}
\usepackage{natbib}
\usepackage{tabu}
\usepackage[version=4]{mhchem}
51
52
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
53
%\usetikzlibrary{arrows}
54
55
56
\usepackage{xurl}
\usepackage{listings}
\usepackage{mdframed}
57
\usepackage{microtype}
58
59
\usepackage{enumitem}
\usepackage{csquotes}
60
\usepackage{modiagram}
61
62

\sisetup{range-phrase=\textup{ -- }} % better
63
64
65
\DeclareSIUnit\ton{\textrm{t}}
\DeclareSIUnit\year{\textrm{a}}
\DeclareSIUnit{\molar}{M}
66

67
\definecolor{palesilver}{rgb}{0.79, 0.75, 0.73}
68

69
%%%%%%%%   FONT   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
70
71
72
73
74
75
76
77

\linespread{1.25}

\renewcommand{\headrulewidth}{0pt} %remove hline header
\setlength\extrarowheight{4pt} %increase rowheight in tables


\setlength{\headheight}{26pt} %change height of frontpage title
Alexander Schoch's avatar
Alexander Schoch committed
78
\lhead{UFO PVK - Chemie - Anorganische Chemie und Chemie Bindung - FS20}
79
80
81
82
83
84
\rhead{}
\setlength{\droptitle}{-0.0cm} 

\newcommand{\cmt}[1]{}

% The first page should not have anything on the bottom and no rule at the top
85

86
87
88
89
90
91
\fancypagestyle{plain}{%
	\renewcommand{\headrulewidth}{0pt}%
	\fancyhf{}%
	\fancyfoot[C]{}%
}
% Pagestyle fancy: Header with authors and title, footer with page number
92

93
94
95
96
97
98
99
100
\pagestyle{fancy}
\fancyfoot[C]{\textit{\thepage}}

% do not indent normal paragraphs
\parindent0mm

\def\arraystretch{1.25}

101
102
\setlist[itemize]{noitemsep, nolistsep}
\setlist[enumerate]{noitemsep, nolistsep}
rasmussa's avatar
rasmussa committed
103

Alexander Schoch's avatar
Alexander Schoch committed
104
<<<<<<< HEAD
Alexander Schoch's avatar
Alexander Schoch committed
105
\definesubmol{ox}3{-[#3,0.4,,,,draw=none]#2-[4,0.2,,,,draw=none]{#1}}
Alexander Schoch's avatar
Alexander Schoch committed
106
\setenumerate{label=\arabic*\,)}
Alexander Schoch's avatar
Alexander Schoch committed
107
=======
108
%\definesubmol{ox}3{-[#3,0.4,,,,draw=none]#2-[4,0.2,,,,draw=none]{#1}}
Alexander Schoch's avatar
Alexander Schoch committed
109
>>>>>>> dcadc5dce065855ee45c04232528c44400cbe1f3