From ef4f51240b53ffe6fecd49aef11ba27e26325300 Mon Sep 17 00:00:00 2001 From: Rajita Chandak Date: Fri, 5 Jan 2024 06:39:42 -0500 Subject: [PATCH] added theorem, lemma and corollary snippets (#474) --- snippets/latex-mode/corollary | 8 ++++++++ snippets/latex-mode/lemma | 8 ++++++++ snippets/latex-mode/theorem | 8 ++++++++ 3 files changed, 24 insertions(+) create mode 100644 snippets/latex-mode/corollary create mode 100644 snippets/latex-mode/lemma create mode 100644 snippets/latex-mode/theorem diff --git a/snippets/latex-mode/corollary b/snippets/latex-mode/corollary new file mode 100644 index 000000000..fa9e1eff4 --- /dev/null +++ b/snippets/latex-mode/corollary @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: corollary +# key: corr +# -- +\begin{cor}[${2:title}] + \label{cor:${1:label}} + $0 +\end{cor} diff --git a/snippets/latex-mode/lemma b/snippets/latex-mode/lemma new file mode 100644 index 000000000..fbbe94d39 --- /dev/null +++ b/snippets/latex-mode/lemma @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: lemma +# key: lem +# -- +\begin{lem}[${2:title}] + \label{lem:${1:label}} + $0 +\end{lem} diff --git a/snippets/latex-mode/theorem b/snippets/latex-mode/theorem new file mode 100644 index 000000000..cb3f90d31 --- /dev/null +++ b/snippets/latex-mode/theorem @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: theorem +# key: thm +# -- +\begin{thm}[${2:title}] + \label{thm:${1:label}} + $0 +\end{thm}