tex snippets

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

View File

@ -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}]