Created
April 14, 2019 02:19
-
-
Save EthanDeng/20b101efeb1db9caf21cfaa1c85bdf5b to your computer and use it in GitHub Desktop.
Sublime Text Snippet for Optimization Problem
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{equation} | |
\begin{aligned} | |
& ${1:\min} & & \hspace*{-2em} ${2:problem} \\\\ | |
& \text{subject to} & & ${3:contraint} | |
\end{aligned} | |
\end{equation} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>opt</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>text.tex</scope> | |
</snippet> |
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{equation*} | |
\begin{aligned} | |
& ${1:\min} & & \hspace*{-2em} ${2:problem} \\\\ | |
& \text{subject to} & & ${3:contraint} | |
\end{aligned} | |
\end{equation*} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>opts</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>text.tex</scope> | |
</snippet> |
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{equation*} | |
\begin{aligned} | |
& ${1:\min} & & \hspace*{-2em} ${2:problem} \\\\ | |
& \text{subject to} & & ${3:contraint} | |
\end{aligned} | |
\end{equation*} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>opts</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>text.tex</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment