feat: 1522 l1 notes
This commit is contained in:
55
ma1522/preamble.tex
Normal file
55
ma1522/preamble.tex
Normal file
@@ -0,0 +1,55 @@
|
||||
\usepackage{amsmath, amsthm, amssymb, amsfonts}
|
||||
\usepackage{thmtools}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{setspace}
|
||||
\usepackage{geometry}
|
||||
\usepackage{float}
|
||||
\usepackage{hyperref}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage{framed}
|
||||
\usepackage[dvipsnames]{xcolor}
|
||||
\usepackage{tcolorbox}
|
||||
|
||||
\colorlet{LightGray}{White!90!Periwinkle}
|
||||
\colorlet{LightOrange}{Orange!15}
|
||||
\colorlet{LightRed}{Red!15}
|
||||
\colorlet{LightGreen}{Green!15}
|
||||
|
||||
\newcommand{\HRule}[1]{\rule{\linewidth}{#1}}
|
||||
|
||||
\declaretheoremstyle[name=Theorem,]{thmsty}
|
||||
\declaretheorem[style=thmsty,numberwithin=section]{theorem}
|
||||
\tcolorboxenvironment{theorem}{colback=LightGray}
|
||||
|
||||
\declaretheoremstyle[name=Proposition,]{prosty}
|
||||
\declaretheorem[style=prosty,numberlike=theorem]{proposition}
|
||||
\tcolorboxenvironment{proposition}{colback=LightOrange}
|
||||
|
||||
\declaretheoremstyle[name=Principle,]{prcpsty}
|
||||
\declaretheorem[style=prcpsty,numberlike=theorem]{principle}
|
||||
\tcolorboxenvironment{principle}{colback=LightGreen}
|
||||
|
||||
\declaretheoremstyle[name=Note,]{notesty}
|
||||
\declaretheorem[style=notesty,numbered=no]{note}
|
||||
\tcolorboxenvironment{note}{colback=LightRed}
|
||||
|
||||
\setstretch{1.2}
|
||||
\geometry{
|
||||
textheight=9in,
|
||||
textwidth=5.5in,
|
||||
top=1in,
|
||||
headheight=12pt,
|
||||
headsep=25pt,
|
||||
footskip=30pt
|
||||
}
|
||||
|
||||
\newcommand\hr{
|
||||
\noindent\rule[0.5ex]{\linewidth}{0.5pt}
|
||||
}
|
||||
|
||||
\newenvironment{amatrix}[1]{%
|
||||
\left(\begin{array}{@{}*{#1}{c}|c@{}}
|
||||
}{%
|
||||
\end{array}\right)
|
||||
}
|
||||
Reference in New Issue
Block a user