init
This commit is contained in:
10
snippets/latex-mode/image.yasnippet
Normal file
10
snippets/latex-mode/image.yasnippet
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor: Yannick Reiss <yannick.reiss@protonmail.ch>
|
||||
# key: img
|
||||
# name: image
|
||||
# --
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=${1:0.8}\linewidth]{$2}
|
||||
\caption{$3}
|
||||
\end{figure}
|
||||
Reference in New Issue
Block a user