-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpreamble.tex
More file actions
71 lines (60 loc) · 1.96 KB
/
preamble.tex
File metadata and controls
71 lines (60 loc) · 1.96 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
% \documentclass[paper=a4, fontsize=12pt, twoside=semi, abstracton, listof=totoc, toc=left]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
% \usepackage{lmodern}
\usepackage{newpxtext}
\usepackage{newpxmath}
\let\openbox\relax
\usepackage{slantsc}
\usepackage{microtype}
% Sectioning layout
\addtokomafont{sectioning}{\normalfont\bfseries}
\setkomafont{section}{\LARGE}
\setkomafont{subsection}{\Large}
\setkomafont{subsubsection}{\large}
\setkomafont{paragraph}{\large}
\setkomafont{subparagraph}{\large}
\renewcommand\sectionformat
{Chapter\enskip\thesection\autodot\hspace{1em}}
% \usepackage{tocstyle}
% \usetocstyle{standard}
% \renewcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries{#1}}
\usepackage[titletoc]{appendix}
\BeforeStartingTOC[lof]{\def\autodot{:}}
\BeforeStartingTOC[lot]{\def\autodot{:}}
% Empty pages
\usepackage{etoolbox}
\pretocmd{\toc}{\cleardoubleevenemptypage}{}{}
\pretocmd{\section}{\cleardoubleevenemptypage}{}{}
\pretocmd{\part}{\cleardoubleevenemptypage\thispagestyle{empty}}{}{}
\renewcommand\partheadstartvskip{\clearpage\null\vfil}
\renewcommand\partheadmidvskip{\par\nobreak\vskip 20pt\thispagestyle{empty}}
% Paragraph indentation behaviour
\setlength{\parindent}{0pt}
\setlength{\parskip}{0.3\baselineskip plus2pt minus2pt}
\newcommand{\sk}{\medskip\noindent}
% Fancy header and footer
% \usepackage{fancyhdr}
% \pagestyle{fancyplain}
% \fancyhead[LO]{\thepage}
% \fancyhead[CO]{}
% % \fancyhead[RO]{\nouppercase{ASD}}
% \fancyhead[RO]{\nouppercase{\rightmark}}
% \fancyhead[LE]{\nouppercase{\rightmark}}
% % % \fancyhead[LE]{\nouppercase{\leftmark}}
% \fancyhead[CE]{}
% \fancyhead[RE]{\thepage}
% \fancyfoot{}
% \renewcommand{\headrulewidth}{0.3pt}
% \renewcommand{\footrulewidth}{0pt}
% \setlength{\headheight}{13.6pt}
% Default packages
\usepackage{booktabs}
\usepackage{amsthm}
\makeatletter
\def\thm@space@setup{%
\thm@preskip=8pt plus 2pt minus 4pt
\thm@postskip=\thm@preskip
}
\makeatother
\usepackage{pdfpages}