dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 48348a9af8a09d9ff0a1c91218ebf60a730f4a3d
parent 662cb25632467f2570643a0e9dc174bc1e989356
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  6 May 2019 10:02:48 +0200

Add includegraphics macro

Diffstat:
M.vim/UltiSnips/tex.snippets | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.vim/UltiSnips/tex.snippets b/.vim/UltiSnips/tex.snippets @@ -20,6 +20,10 @@ snippet fig "Insert figure environment" \end{figure} endsnippet +snippet fig "Include graphics (no figure env)" +\includegraphics[width=$1\textwidth]{$2} +endsnippet + snippet Fig "Insert reference to figure" (Fig.~\ref{fig:$0}) endsnippet