tex changes

This commit is contained in:
h
2023-09-25 14:10:12 -04:00
parent adedd29830
commit 45410393da
9 changed files with 299 additions and 224 deletions
+9 -17
View File
@@ -1,24 +1,16 @@
\usepackage{amsthm, amssymb, amsmath, bm}
\definecolor{gold}{RGB}{234, 157, 52}
\definecolor{rose}{RGB}{215, 130, 126}
\definecolor{foam}{RGB}{86, 148, 159}
\definecolor{text}{RGB}{87, 82, 121}
\definecolor{base}{RGB}{250, 244, 237}
\definecolor{pine}{RGB}{40, 105, 131}
\definecolor{iris}{RGB}{144, 122, 169}
\definecolor{muted}{RGB}{152, 147, 165}
\definecolor{base}{RGB}{250, 244, 237}
\definecolor{love}{RGB}{180, 99, 122}
\definecolor{base}{HTML}{212121}
\definecolor{title}{HTML}{FFFFFF}
\definecolor{text}{HTML}{ADADAD}
\definecolor{url}{HTML}{4DD0E1}
\definecolor{toc}{HTML}{FFAB40}
\setbeamercolor{background canvas}{bg=base}
\setbeamercolor{section in toc}{fg=love}
\setbeamercolor{title}{fg=pine}
\setbeamercolor{frametitle}{fg=pine}
\setbeamercolor{section in toc}{fg=toc}
\setbeamercolor{title}{fg=title}
\setbeamercolor{frametitle}{fg=title}
\setbeamercolor{normal text}{fg=text}
\setbeamercolor{item}{fg=text}
\setbeamercolor{frametitle}{fg=pine}
\setbeamercolor{footline}{fg=pine}
\setbeamercolor{footline}{fg=title}
+9 -2
View File
@@ -38,6 +38,8 @@
\RequirePackage{tikz-cd}
\RequirePackage{pgfplots}
\RequirePackage{hyperref}
\RequirePackage{algpseudocode}
\RequirePackage{algorithm}
\hypersetup{
colorlinks=true,
@@ -108,11 +110,11 @@
\declaretheorem[style=thmsimple, numbered=no, name=Note]{note}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[fontfamily=courier, frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newcommand{\inlinecode}[2]{\mintinline{#1}|#2|}
\newcommand{\importcode}[2]{\inputminted[frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\importcode}[2]{\inputminted[fontfamily=courier, frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\specialquote}[2]
@@ -314,6 +316,11 @@
\section{#1}
}
\newcommand{\subsect}[1]{
\def\@subsection{#1}
\subsection{#1}
}
\def\@lecture{}
\newcommand{\lecture}[2]{
\ifthenelse{\isempty{#2}}{
+12 -2
View File
@@ -37,6 +37,8 @@
\RequirePackage{tikz-cd}
\RequirePackage{pgfplots}
\RequirePackage{parskip}
\RequirePackage{algpseudocode}
\RequirePackage{algorithm}
\pgfplotsset{
compat=newest,
@@ -94,16 +96,17 @@
\declaretheorem[style=thmproof, name=Proof]{thmproof}
\renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}}
\declaretheorem[style=thmline, numbered=no, name=Proof]{expl}
\declaretheorem[style=thmline, numbered=no, name=Solution]{answ}
\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}}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[fontfamily=courier, frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newcommand{\inlinecode}[2]{\mintinline{#1}|#2|}
\newcommand{\importcode}[2]{\inputminted[frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\importcode}[2]{\inputminted[fontfamily=courier, frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\specialquote}[2]
@@ -227,6 +230,8 @@
\renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}}
\declaretheorem[style=thmexpl, numbered=no, name=Proof]{thmexpl}
\newenvironment{expl}[1][]{\vspace{-12pt}\begin{thmexpl}}{\end{thmexpl}}
\declaretheorem[style=thmexpl, numbered=no, name=Solution]{thmansw}
\newenvironment{answ}[1][]{\vspace{-12pt}\begin{thmansw}}{\end{thmansw}}
\declaretheorem[style=thmremark, numbered=no, name=Remark]{remark}
\declaretheorem[style=thmremark, numbered=no, name=Note]{note}
@@ -306,6 +311,11 @@
\section{#1}
}
\newcommand{\subsect}[1]{
\def\@subsection{#1}
\subsection{#1}
}
\newcommand{\chapter}[1]{}
\renewcommand{\part}[1]{}
+10 -2
View File
@@ -36,6 +36,8 @@
\RequirePackage{tikz}
\RequirePackage{tikz-cd}
\RequirePackage{pgfplots}
\RequirePackage{algpseudocode}
\RequirePackage{algorithm}
\pgfplotsset{
compat=newest,
@@ -92,17 +94,18 @@
\declaretheorem[style=thmproof, name=Proof]{thmproof}
\renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}}
\declaretheorem[style=thmline, numbered=no, name=Proof]{expl}
\declaretheorem[style=thmline, numbered=no, name=Solution]{answ}
\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}}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[fontfamily=courier, frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newcommand{\inlinecode}[2]{\mintinline{#1}|#2|}
\newcommand{\importcode}[2]{\inputminted[frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\importcode}[2]{\inputminted[fontfamily=courier, frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\specialquote}[2]
{
@@ -169,5 +172,10 @@
\section*{#1}
}
\newcommand{\subsect}[1]{
\def\@subsection{#1}
\subsection*{#1}
}
\makeatother
+9 -2
View File
@@ -37,6 +37,8 @@
\RequirePackage{tikz-cd}
\RequirePackage{pgfplots}
\RequirePackage{hyperref}
\RequirePackage{algpseudocode}
\RequirePackage{algorithm}
\hypersetup{
colorlinks=true,
@@ -107,11 +109,11 @@
\declaretheorem[style=thmsimple, numbered=no, name=Note]{note}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[fontfamily=courier, frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newcommand{\inlinecode}[2]{\mintinline{#1}|#2|}
\newcommand{\importcode}[2]{\inputminted[frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\importcode}[2]{\inputminted[fontfamily=courier, frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\specialquote}[2]
@@ -313,6 +315,11 @@
\subsection{#1}
}
\newcommand{\subsect}[1]{
\def\@subsection{#1}
\subsubsection{#1}
}
\newcommand{\chapter}[1]{
\section{#1}
}
+7 -1
View File
@@ -12,8 +12,13 @@
\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
\newcommand{\R}{\ensuremath{\mathbb{R}}}
\newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand\C{\ensuremath{\mathbb{C}}}
\newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\D}{\ensuremath{\mathbb{D}}}
\newcommand{\suchthat}{\ensuremath{\text{ such that }}}
\newcommand{\BigO}{\ensuremath{\mathcal{O}}}
\newcommand{\BigOm}{\ensuremath{\Omega}}
\newcommand{\BigT}{\ensuremath{\Theta}}
\DeclareMathOperator{\GL}{GL}
\DeclareMathOperator{\Imm}{Im}
@@ -23,3 +28,4 @@
\DeclareMathOperator{\Hol}{Hol}
\DeclareMathOperator{\Arg}{Arg}
\DeclareMathOperator{\Log}{Log}
\DeclareMathOperator{\Var}{Var}