diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-09-19 22:44:32 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-09-19 22:44:32 -0400 |
commit | a8ba6e87e3712c264c4687b26bccdfd66d8c9ccb (patch) | |
tree | 0b2796aa88e7f5caae9618278270c30640c219de /snippets | |
parent | e86b00d161726d591f9a2428a095d6283a4afb40 (diff) | |
download | emacs.d-a8ba6e87e3712c264c4687b26bccdfd66d8c9ccb.tar.gz |
snippets: Add custom figure snippet
Diffstat (limited to 'snippets')
-rw-r--r-- | snippets/latex-mode/figure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/snippets/latex-mode/figure b/snippets/latex-mode/figure new file mode 100644 index 0000000..afa8cfb --- /dev/null +++ b/snippets/latex-mode/figure @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: figure +# key: fig +# -- +\begin{figure} + \centering + \includegraphics{figs/$1} + \caption[$2] + { + \textbf{$2} + $0 + } + \label{fig:$3} +\end{figure} |