Skip to content

Commit

Permalink
added theorem, lemma and corollary snippets (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajitachandak authored Jan 5, 2024
1 parent 9799ec9 commit ef4f512
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions snippets/latex-mode/corollary
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: corollary
# key: corr
# --
\begin{cor}[${2:title}]
\label{cor:${1:label}}
$0
\end{cor}
8 changes: 8 additions & 0 deletions snippets/latex-mode/lemma
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: lemma
# key: lem
# --
\begin{lem}[${2:title}]
\label{lem:${1:label}}
$0
\end{lem}
8 changes: 8 additions & 0 deletions snippets/latex-mode/theorem
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: theorem
# key: thm
# --
\begin{thm}[${2:title}]
\label{thm:${1:label}}
$0
\end{thm}

0 comments on commit ef4f512

Please sign in to comment.