This commit is contained in:
EvilMuffinHa 2023-05-23 23:39:53 -04:00
parent 1e7719417f
commit bbdfc9bae4
2 changed files with 64 additions and 4 deletions

View File

@ -1,4 +1,4 @@
\usepackage{amsthm, amssymb, amsmath, bm}
\definecolor{gold}{RGB}{234, 157, 52}

View File

@ -15,31 +15,88 @@
\RequirePackage{cancel}
\RequirePackage{mathrsfs}
\RequirePackage{minted}
\RequirePackage{listings}
\RequirePackage{systeme}
\RequirePackage{amsfonts, amsmath, amssymb, amsthm}
\RequirePackage{amsfonts, amsmath, mathtools, amssymb, amsthm}
\RequirePackage{enumitem}
\RequirePackage{bm}
\RequirePackage{listings}
\RequirePackage{geometry}
\RequirePackage{graphicx}
\RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{bm}
\RequirePackage{siunitx}[=v2]
\RequirePackage{physics}
\RenewCommandCopy\qty\SI%
\RequirePackage{bm}
\RequirePackage{etoolbox}
\RequirePackage{xifthen}
\RequirePackage{import}
\RequirePackage{pdfpages}
\RequirePackage{fancyhdr}
\RequirePackage{tikz}
\RequirePackage{tikz-cd}
\RequirePackage{pgfplots}
\pgfplotsset{
compat=newest,
}
\usepgfplotslibrary{fillbetween}
\usetikzlibrary{patterns}
\usetikzlibrary{patterns, intersections, angles, quotes, calc, positioning}
\usetikzlibrary{arrows.meta}
\RequirePackage{thmtools}
\RequirePackage[framemethod=TikZ]{mdframed}
\mdfsetup{skipabove=1em, skipbelow=0em, innertopmargin=5pt, innerbottommargin=6pt}
\geometry{top=20mm,bottom=20mm}
\theoremstyle{definition}
\makeatletter
\usemintedstyle{bw}
\declaretheoremstyle[
headfont=\bfseries\sffamily, bodyfont=\normalfont,
mdframed={nobreak}
]{thmboxed}
\declaretheoremstyle[
headfont=\bfseries\sffamily, bodyfont=\normalfont,
]{thmsimple}
\declaretheoremstyle[
headfont=\bfseries\sffamily, bodyfont=\normalfont,
numbered=no,
mdframed={
rightline=false, topline=false, bottomline=false,
},
qed=\qedsymbol,
]{thmproof}
\declaretheoremstyle[
headfont=\bfseries\sffamily, bodyfont=\normalfont,
numbered=no,
mdframed={
rightline=false, topline=false, bottomline=false,
}
]{thmline}
\declaretheorem[style=thmboxed, name=Definition]{definition}
\declaretheorem[style=thmboxed, name=Lemma]{lemma}
\declaretheorem[style=thmboxed, name=Theorem]{theorem}
\declaretheorem[style=thmboxed, name=Proposition]{proposition}
\declaretheorem[style=thmboxed, numbered=no, name=Corollary]{corollary}
\declaretheorem[style=thmsimple, numbered=no, name=Example]{eg}
\AtEndEnvironment{eg}{\null\hfill$\diamond$}
\declaretheorem[style=thmproof, name=Proof]{thmproof}
\renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}}
\declaretheorem[style=thmline, numbered=no, name=Proof]{expl}
\declaretheorem[style=thmsimple, numbered=no, name=Remark]{remark}
\declaretheorem[style=thmsimple, numbered=no, name=Note]{note}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
@ -111,3 +168,6 @@
\def\@section{#1}
\section*{#1}
}
\makeatother