141 lines
3.0 KiB
TeX
141 lines
3.0 KiB
TeX
\usepackage{textcomp}
|
|
\usepackage{url}
|
|
\usepackage{graphicx}
|
|
\usepackage{float}
|
|
\usepackage{booktabs}
|
|
\usepackage{enumitem}
|
|
\usepackage{parskip}
|
|
\usepackage{emptypage}
|
|
\usepackage{subcaption}
|
|
\usepackage{multicol}
|
|
\usepackage{xcolor}
|
|
\usepackage{amsmath, amsfonts, mathtools, amsthm, amssymb}
|
|
\usepackage{mathrsfs}
|
|
\usepackage{cancel}
|
|
\usepackage{bm}
|
|
|
|
\newcommand\N{\ensuremath{\mathbb{N}}}
|
|
\newcommand\R{\ensuremath{\mathbb{R}}}
|
|
\newcommand\Z{\ensuremath{\mathbb{Z}}}
|
|
\renewcommand\O{\ensuremath{\emptyset}}
|
|
\newcommand\Q{\ensuremath{\mathbb{Q}}}
|
|
\newcommand\C{\ensuremath{\mathbb{C}}}
|
|
|
|
\let\svlim\lim\def\lim{\svlim\limits}
|
|
|
|
\let\implies\Rightarrow
|
|
\let\impliedby\Leftarrow
|
|
\let\iff\Leftrightarrow
|
|
\let\epsilon\varepsilon
|
|
|
|
\usepackage{stmaryrd}
|
|
\newcommand\contra{\scalebox{1.5}{$\lightning$}}
|
|
|
|
\definecolor{correct}{HTML}{009900}
|
|
\newcommand\correct[2]{\ensuremath{\:}{\color{red}{#1}}\ensuremath{\to }{\color{correct}{#2}}\ensuremath{\:}}
|
|
\newcommand\green[1]{{\color{correct}{#1}}}
|
|
|
|
\newcommand\hr{
|
|
\noindent\rule[0.5ex]{\linewidth}{0.5pt}
|
|
}
|
|
|
|
\newcommand\hide[1]{}
|
|
|
|
\usepackage{siunitx}
|
|
\sisetup{locale = UK}
|
|
|
|
\makeatother
|
|
|
|
\usepackage{mdframed}
|
|
\mdfsetup{skipabove=1em,skipbelow=0em}
|
|
\theoremstyle{definition}
|
|
|
|
\newmdtheoremenv[nobreak=true]{definition}{Definition}
|
|
\newtheorem*{eg}{Example}
|
|
\newtheorem*{notation}{Notation}
|
|
\newtheorem*{previouslyseen}{As previously seen}
|
|
\newtheorem*{remark}{Remark}
|
|
\newtheorem*{note}{Note}
|
|
\newtheorem*{problem}{Problem}
|
|
\newtheorem*{observe}{Observe}
|
|
\newtheorem*{property}{Property}
|
|
\newtheorem*{intuition}{Intuition}
|
|
\newmdtheoremenv[nobreak=true]{prop}{Proposition}
|
|
\newmdtheoremenv[nobreak=true]{theorem}{Theorem}
|
|
\newmdtheoremenv[nobreak=true]{corollary}{Corollary}
|
|
|
|
\usepackage{etoolbox}
|
|
\AtEndEnvironment{eg}{\null\hfill$\diamond$}%
|
|
|
|
\makeatletter
|
|
\def\thm@space@setup{%
|
|
\thm@preskip=\parskip \thm@postskip=0pt
|
|
}
|
|
|
|
\newcommand{\practice}[1]{%
|
|
\def\@practice{#1}%
|
|
\subsection*{Practice #1}
|
|
}
|
|
|
|
\newcommand{\subpractice}[1]{%
|
|
\subsubsection*{Practice \@practice.#1}
|
|
}
|
|
|
|
\usepackage{xifthen}
|
|
\def\testdateparts#1{\dateparts#1\relax}
|
|
\def\dateparts#1 #2 #3 #4 #5\relax{
|
|
\marginpar{\small\textsf{\mbox{#1 #2 #3 #5}}}
|
|
}
|
|
|
|
\def\@lecture{}%
|
|
\newcommand{\lecture}[3]{
|
|
\ifthenelse{\isempty{#3}}{%
|
|
\def\@lecture{Lecture #1}%
|
|
}{%
|
|
\def\@lecture{Lecture #1: #3}%
|
|
}%
|
|
\subsection*{\@lecture}
|
|
\marginpar{\small\textsf{\mbox{#2}}}
|
|
}
|
|
|
|
|
|
\usepackage{fancyhdr}
|
|
\pagestyle{fancy}
|
|
|
|
\fancyhead[RO,LE]{\@lecture}
|
|
\fancyhead[RE,LO]{}
|
|
|
|
\fancyfoot[RO,LE]{\thepage}
|
|
\fancyfoot[RE,LO]{}
|
|
\fancyfoot[C]{\leftmark}
|
|
|
|
\makeatother
|
|
|
|
\usepackage{todonotes}
|
|
\usepackage{tcolorbox}
|
|
|
|
\tcbuselibrary{breakable}
|
|
|
|
\newenvironment{Correction}{\begin{tcolorbox}[
|
|
arc=0mm,
|
|
colback=white,
|
|
colframe=green!60!black,
|
|
title=Note,
|
|
fonttitle=\sffamily,
|
|
breakable
|
|
]}{\end{tcolorbox}}
|
|
|
|
\newenvironment{takenote}[1]{\begin{tcolorbox}[
|
|
arc=0mm,
|
|
colback=white,
|
|
colframe=white!60!black,
|
|
title=#1,
|
|
fonttitle=\sffamily
|
|
breakable
|
|
]}{\end{tcolorbox}}
|
|
|
|
|
|
\pdfsuppresswarningpagegroup=1
|
|
|
|
\author{Curle}
|