commit a52f0390d2e8042eaeb2e37e9770483044b005b9 parent f3b20b98b666d443062f733136fc895b430407e9 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 6 May 2019 10:03:43 +0200 Fix tex snippet naming Diffstat:
M | .vim/UltiSnips/tex.snippets | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.vim/UltiSnips/tex.snippets b/.vim/UltiSnips/tex.snippets @@ -11,7 +11,7 @@ snippet Eq "Insert reference to equation" (Eq.~\ref{eq:$0}) endsnippet -snippet includegraphics "Insert figure environment" +snippet fig "Insert figure environment" \begin{figure}[${5:htbp}] \includegraphics[width=$1\textwidth]{$2} \caption{\label{fig:${3:unnamed}}% @@ -20,7 +20,7 @@ snippet includegraphics "Insert figure environment" \end{figure} endsnippet -snippet fig "Include graphics (no figure env)" +snippet includegraphics "Include graphics (no figure env)" \includegraphics[width=$1\textwidth]{$2} endsnippet