This commit is contained in:
EvilMuffinHa 2022-12-04 23:37:31 -05:00
parent efe2f09b17
commit 581930e793
2 changed files with 11 additions and 3 deletions

View File

@ -101,6 +101,12 @@ snippet definition "Definition" bA
\end{definition} $0 \end{definition} $0
endsnippet endsnippet
snippet example "Example" bA
\begin{eg}[$1]
$2
\end{eg} $0
endsnippet
# Math # Math
snippet sm "Math" wA snippet sm "Math" wA
@ -739,7 +745,7 @@ else:
`$2 `$2
endsnippet endsnippet
snippet sc "Inline Code" wA snippet ssc "Inline Code" wA
\inlinecode{${1}}{${2}}`!p \inlinecode{${1}}{${2}}`!p
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']: if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
snip.rv = ' ' snip.rv = ' '

View File

@ -36,6 +36,7 @@
\RequirePackage{tikz} \RequirePackage{tikz}
\RequirePackage{tikz-cd} \RequirePackage{tikz-cd}
\RequirePackage{pgfplots} \RequirePackage{pgfplots}
\RequirePackage{parskip}
\pgfplotsset{ \pgfplotsset{
compat=newest, compat=newest,
@ -125,6 +126,7 @@
\declaretheorem[style=thmthm, name=Proposition]{proposition} \declaretheorem[style=thmthm, name=Proposition]{proposition}
\declaretheorem[style=thmthm, numbered=no, name=Corollary]{corollary} \declaretheorem[style=thmthm, numbered=no, name=Corollary]{corollary}
\declaretheorem[style=thmexample, numbered=no, name=Example]{eg} \declaretheorem[style=thmexample, numbered=no, name=Example]{eg}
\declaretheorem[name=Problem]{prob}
\declaretheorem[style=thmproof, name=Proof]{thmproof} \declaretheorem[style=thmproof, name=Proof]{thmproof}
@ -194,8 +196,8 @@
\DeclareMathOperator{\Hol}{Hol} \DeclareMathOperator{\Hol}{Hol}
\pagestyle{fancy} \pagestyle{fancy}
\fancyhead[RO,L]{\@section} \fancyhead[L]{\@title}
\fancyhead[R,LO]{\@title} \fancyhead[R]{\@section}
\makeatother \makeatother