-
Notifications
You must be signed in to change notification settings - Fork 0
/
preamble.tex
48 lines (37 loc) · 849 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
42
43
44
45
46
47
48
\usepackage{pdfpages}
\usepackage{booktabs}
\usepackage{amsthm}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{caption}
\usepackage{fancyhdr}
\usepackage{fontspec}
\renewcommand*\familydefault{\rmdefault}
\makeatletter
\def\thm@space@setup{%
\thm@preskip=8pt plus 2pt minus 4pt
\thm@postskip=\thm@preskip
}
\usepackage{tcolorbox}
\definecolor{yellownote}{RGB}{254,255,156}
\definecolor{bluenote}{RGB}{218,238,255}
\newtcolorbox{notebox}{
colback=yellownote,
colframe=black,
coltext=black,
boxsep=4pt,
fontupper=\small,
fontlower=\small,
arc=3pt}
\newtcolorbox{tipbox}{
colback=bluenote,
colframe=black,
coltext=black,
boxsep=4pt,
fontupper=\small,
fontlower=\small,
arc=3pt}
\newenvironment{rnote}{\par\raggedleft}{\par}
\makeatother
\let\oldmaketitle\maketitle
\AtBeginDocument{\let\maketitle\relax}