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