Merge pull request #589 from zetanot/master

added (l/r)angle to ultisnips,added mathfonts to snippets
This commit is contained in:
Louis Pilfold 2015-06-08 20:48:55 +01:00
commit 69c918175c

View File

@ -45,10 +45,15 @@ snippet gat gather(ed) environment
# Equation
snippet eq equation environment
\begin{equation}
\label{eq:${2}}
${0}
\end{equation}
# Equation
snippet eql Labeled equation environment
\begin{equation}
\label{eq:${2}}
${0}
\end{equation}
# Equation
snippet eq* unnumbered equation environment
\begin{equation*}
${0}
@ -206,6 +211,13 @@ snippet rm roman font text
\textrm{${0:text}}
snippet tt typewriter (monospace) text
\texttt{${0:text}}
#Math font
snippet mf mathfrak
\mathfrak{${0:text}}
snippet mc mathcal
\mathcal{${0:text}}
snippet ms mathscr
\mathscr{${0:text}}
#misc
snippet ft \footnote
\footnote{${0:text}}
@ -263,6 +275,18 @@ snippet col2 two-column environment
${0}
\end{column}
\end{columns}
#delimiter
snippet lr( left( right)
\left( ${0} \right)
snippet lr| left| right|
\left| ${0} \right|
snippet lr{ left\{ right\}
\left\\{ ${0} \right\\}
snippet lr[ left[ right]
\left[ ${0} \right]
snippet lra langle rangle
\langle ${0} \rangle
# Code listings
snippet lst
\begin{listing}[language=${1:language}]