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

View File

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