commit 85b02a0681ab6bd5fa4e12704d38dd4a4ef348a8 parent c6bb03b3099343542a6868ae7075ad3d89ee577a Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 17 Jul 2018 16:11:29 -0400 Add latex snippets Diffstat:
A | links/.vim/UltiSnips/tex.snippets | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/links/.vim/UltiSnips/tex.snippets b/links/.vim/UltiSnips/tex.snippets @@ -0,0 +1,15 @@ +snippet eeq "Insert equation environment" +\begin{equation} + $0 + \label{eq:$1} +\end{equation} +endsnippet + +snippet vec "Insert boldsymbol vector" +\boldsymbol{$0} +endsnippet + +snippet vec_ "Insert boldsymbol vector" +\boldsymbol{$1}_\text{$2} +endsnippet +