forked from Kotlin/kotlin-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreamble.tex
41 lines (31 loc) · 831 Bytes
/
preamble.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
\usepackage{enumitem}
\setlist[description]{style=nextline}
\usepackage{amsmath}
\usepackage{cancel}
\usepackage{todonotes}
\usepackage{titlesec}
\setcounter{tocdepth}{2}
\setcounter{secnumdepth}{2}
\titleformat{\paragraph}{\normalfont\bfseries}{\theparagraph}{1em}{}
\titlespacing{\paragraph}{0pt}{\parskip}{\parskip}
\usepackage{etoolbox}
\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\par {\large #1}}{}{}
}
\makeatother
\usepackage{newunicodechar}
\newunicodechar{⪯}{$\preceq$}
\newunicodechar{⊆}{$\subseteq$}
\newunicodechar{⊤}{$\top$}
\newunicodechar{⊥}{$\bot$}
\newunicodechar{⊗}{$\otimes$}
\hyphenation{
Sus-pend-Co-ro-u-ti-ne-Un-in-ter-cep-ted-Or-Re-turn
}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=cyan
}