Last active
December 10, 2015 00:58
-
-
Save bjmorgan/4354741 to your computer and use it in GitHub Desktop.
Sublime Text 2 snippet for inserting code for a `figure` environment. Triggered with `"figure"+tab`.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[\begin{figure}[tb] | |
\begin{center} | |
\resizebox{${3:8.5}cm}{!}{\includegraphics*{${1:filename}.eps}} % $4 | |
\caption{\label{fig:${1:label}}${2:Caption}} | |
\end{center} | |
\end{figure} | |
$0]]></content> | |
<tabTrigger>figure</tabTrigger> | |
<scope>text.tex.latex</scope> | |
<description>Figure environment</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment