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