added more enum environments, changed default text in lim to n\to\infty, added set bracket as snippet

This commit is contained in:
Kevin Lui 2015-11-09 16:09:24 -08:00
parent 413b3507fb
commit 6cfc49ab13

View File

@ -76,6 +76,14 @@ snippet enum enumerate environment
\begin{enumerate} \begin{enumerate}
\item ${0} \item ${0}
\end{enumerate} \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 # Itemize
snippet itemize itemize environment snippet itemize itemize environment
\begin{itemize} \begin{itemize}
@ -249,7 +257,7 @@ snippet frac \frac{}{}
snippet sum \sum^{}_{} snippet sum \sum^{}_{}
\sum^{${1:n}}_{${2:i=1}} ${0} \sum^{${1:n}}_{${2:i=1}} ${0}
snippet lim \lim_{} snippet lim \lim_{}
\lim_{${1:x \to +\infty}} ${0} \lim_{${1:n \to \infty}} ${0}
snippet frame frame environment snippet frame frame environment
\begin{frame}[${1:t}]{${2:title}} \begin{frame}[${1:t}]{${2:title}}
${0} ${0}
@ -275,6 +283,8 @@ snippet col2 two-column environment
${0} ${0}
\end{column} \end{column}
\end{columns} \end{columns}
snippet \{ \{ \}
\{ ${0} \}
#delimiter #delimiter
snippet lr( left( right) snippet lr( left( right)
\left( ${0} \right) \left( ${0} \right)
@ -286,7 +296,6 @@ snippet lr[ left[ right]
\left[ ${0} \right] \left[ ${0} \right]
snippet lra langle rangle snippet lra langle rangle
\langle ${0} \rangle \langle ${0} \rangle
# Code listings # Code listings
snippet lst snippet lst
\begin{listing}[language=${1:language}] \begin{listing}[language=${1:language}]