-
Notifications
You must be signed in to change notification settings - Fork 0
/
Supertemplate.tex
96 lines (80 loc) · 2.42 KB
/
Supertemplate.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
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, dsfont, mathtools}
\usepackage{graphicx, float}
\usepackage[most]{tcolorbox}
\usepackage{enumitem}
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{xcolor}
% ------------------------------------ %
% Customization %
% ------------------------------------ %
\usepackage[letterpaper, top=1in, left=1in, right=1in, bottom=1in]{geometry}
\setlength{\parindent}{0em}
\setlength{\parskip}{0.5em}
\setlist[enumerate]{itemsep=-0.5em} % Adjust the spacing as desired
\setlist[itemize]{itemsep=-0.5em} % Adjust the spacing as desired
\renewcommand{\baselinestretch}{1.25}
\title{MATH1853}
\author{Jax T}
\date{23 Dec}
\newtcolorbox{knBox}[2][]{
arc=2mm,
lower separated=true, % Set to true to enable the separation between upper and lower sections
segmentation style={dashed, draw=black}, % Add dashed line style between the sections
fonttitle=\bfseries,
colbacktitle=white!10,
coltitle=black,
enhanced,
attach boxed title to top left={xshift=0.2cm,
yshift=-2mm},
colframe=white!40!black,
boxrule=0.3mm,
colback=black!02,
title=#2,#1
}
\newtcolorbox{propBox}[2][]{
arc=2mm,
lower separated=true, % Set to true to enable the separation between upper and lower sections
segmentation style={dashed, draw=black}, % Add dashed line style between the sections
fonttitle=\bfseries,
colbacktitle=green!10,
coltitle=black,
enhanced,
attach boxed title to top left={xshift=0.2cm,
yshift=-2mm},
colframe=green!40!black,
boxrule=0.3mm,
colback=green!02,
title=#2,#1
}
\hypersetup{
colorlinks=true,
linkcolor=purple % Color for internal links
}
\newenvironment{amatrix}[1]{%
\left[\begin{array}{@{}*{#1}{c}|c@{}}
}{%
\end{array}\right]
}
\newcommand{\note}[1]{\textcolor{gray}{\tiny #1}}
% ------------------------------------ %
% Title page %
% ------------------------------------ %
\begin{document}
\begin{titlepage}
\null\vfill % Add vertical space to center the title and author
\centering
\Huge\textbf{MATH1851}
\vspace{0.1cm}
\Large\textbf{Notes Spring 2024}
\vspace{1cm}
\normalsize\textbf{Author:} Jax
\normalsize\textbf{Contact:} enhanjax@connect.hku.hk
\vfill % Add vertical space to center the remaining space
\end{titlepage}
% ------------------------------------ %
% Document %
% ------------------------------------ %
\end{document}