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 -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}}{