From 6cfc49ab13101b58cf4532569b5e5df7bb234fb2 Mon Sep 17 00:00:00 2001 From: Kevin Lui Date: Mon, 9 Nov 2015 16:09:24 -0800 Subject: [PATCH] added more enum environments, changed default text in lim to n\to\infty, added set bracket as snippet --- snippets/tex.snippets | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/snippets/tex.snippets b/snippets/tex.snippets index 0727cb4..9c18178 100644 --- a/snippets/tex.snippets +++ b/snippets/tex.snippets @@ -76,6 +76,14 @@ snippet enum enumerate environment \begin{enumerate} \item ${0} \end{enumerate} +snippet enuma enumerate environment + \begin{enumerate}[(a)] + \item ${0} + \end{enumerate} +snippet enumi enumerate environment + \begin{enumerate}[(i)] + \item ${0} + \end{enumerate} # Itemize snippet itemize itemize environment \begin{itemize} @@ -249,7 +257,7 @@ snippet frac \frac{}{} snippet sum \sum^{}_{} \sum^{${1:n}}_{${2:i=1}} ${0} snippet lim \lim_{} - \lim_{${1:x \to +\infty}} ${0} + \lim_{${1:n \to \infty}} ${0} snippet frame frame environment \begin{frame}[${1:t}]{${2:title}} ${0} @@ -275,6 +283,8 @@ snippet col2 two-column environment ${0} \end{column} \end{columns} +snippet \{ \{ \} + \{ ${0} \} #delimiter snippet lr( left( right) \left( ${0} \right) @@ -286,7 +296,6 @@ snippet lr[ left[ right] \left[ ${0} \right] snippet lra langle rangle \langle ${0} \rangle - # Code listings snippet lst \begin{listing}[language=${1:language}]