tex changes
This commit is contained in:
+9
-2
@@ -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}}{
|
||||
|
||||
Reference in New Issue
Block a user