add latex-mode directory
This commit is contained in:
parent
61c9cf9766
commit
0af8f37a6a
2 changed files with 11 additions and 0 deletions
1
latex-mode/.yas-parents
Normal file
1
latex-mode/.yas-parents
Normal file
|
@ -0,0 +1 @@
|
|||
text-mode
|
10
latex-mode/subfig.yasnippet
Normal file
10
latex-mode/subfig.yasnippet
Normal 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}
|
Loading…
Reference in a new issue