add latex-mode directory

This commit is contained in:
Andrea Crotti 2011-01-26 14:10:33 +01:00
parent 61c9cf9766
commit 0af8f37a6a
2 changed files with 11 additions and 0 deletions

1
latex-mode/.yas-parents Normal file
View file

@ -0,0 +1 @@
text-mode

View file

@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: subfig
# key: subfig
# --
\begin{figure}
\centering
\subfloat[${1:name}]{\label{fig:${2:label}}\includegraphics[${3:dim}\textwidth]{${4:image}}}
$0
\label{fig:${5:generic}}
\end{figure}