-
Notifications
You must be signed in to change notification settings - Fork 0
/
supplement.tex
110 lines (88 loc) · 1.88 KB
/
supplement.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
\documentclass[dvipsnames]{article}
\hbadness=99999
\usepackage{silence}
% font
\usepackage{iftex}
\ifPDFTeX
\usepackage{libertinust1math}
\usepackage{libertine}
\else
\usepackage{libertinus}
\fi
\usepackage[scaled=0.8]{FiraMono}
% geometry
\usepackage[margin=1in]{geometry}
% math and symbols
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{mathtools}
\usepackage{mathpartir}
\usepackage{stmaryrd}
\WarningFilter{latexfont}{Font shape `U/stmry/b/n' undefined}
\WarningFilter{latexfont}{Some font shapes were not available}
\usepackage{bm}
\usepackage{relsize}
\usepackage{centernot}
% hyperlinks
\usepackage[colorlinks=true, linkcolor=purple]{hyperref}
\usepackage[capitalise, noabbrev]{cleveref}
% enumeration
\usepackage{enumitem}
% colors
\usepackage{scalerel}
\usepackage[dvipsnames]{xcolor}
\usepackage[most]{tcolorbox}
% theorem types
\declaretheorem[name=Theorem, parent=section]{theorem}
\declaretheorem[name=Lemma, parent=theorem]{lemma}
\declaretheorem[name=Lemma, sibling=theorem]{lemma*}
\declaretheorem[name=Definition, parent=section, style=definition]{definition}
% toc
\makeatletter
\renewcommand\tableofcontents{%
\@starttoc{toc}%
}
\makeatother
\setcounter{tocdepth}{2}
\input{symbols}
\input{macros}
\newtcolorbox{mybox}[2][]
{
on line,
hbox,
boxsep=0pt,
left=1pt,
right=1pt,
top=1pt,
bottom=1pt,
colframe=white,
colback=#2
#1,
}
\newcommand\goodcolor[2]{%
\protect\leavevmode
\begingroup
\color{#1}%
#2%
\endgroup
}
\usepackage{subfiles}
\begin{document}
\tableofcontents
\newpage
\renewcommand{\thesection}{\Alph{section}}
\subfile{supplement/marked}
\newpage
\subfile{supplement/patterned}
\newpage
\subfile{supplement/polymorphism}
\newpage
\subfile{supplement/untyped}
\newpage
\subfile{supplement/typed}
\newpage
\subfile{supplement/constraintRules}
\end{document}