forked from SublimeText/LaTeXTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added snippets for creating a figure and for a table, as well as comp…
…letions for the Beamer package
- Loading branch information
omniearth
committed
Apr 23, 2012
1 parent
f29d3b5
commit 7c0b8db
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"scope": "text.tex.latex", | ||
|
||
"completions": | ||
[ | ||
// Beamer | ||
{ "trigger": "uncover", "contents": "\\uncover<${1:+-}>{$2}"}, | ||
{ "trigger": "visible", "contents": "\\visible<${1:+-}>{$2}"}, | ||
{ "trigger": "only", "contents": "\\only<${1:+-}>{$2}"} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\begin{figure}[${1:tb}] | ||
\begin{center} | ||
\includegraphics[$2]{$3} | ||
\end{center} | ||
\caption{${4:Caption here}} | ||
\label{${5:fig:figure1}} | ||
\end{figure} | ||
]]></content> | ||
<tabTrigger>bfigure</tabTrigger> | ||
<scope>text.tex.latex</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\begin{table}[${1:tb}] | ||
\caption{${2:caption here}} | ||
\label{${3:fig:figurename}} | ||
\begin{center} | ||
\begin{tabular}{${4:l|cc}} | ||
\hline | ||
\hline | ||
\textbf{${5:column 1}} & \textbf{${6:column 2}} & \textbf{${7:column 3}} \\\\ | ||
\hline | ||
& & \\\\ | ||
\hline | ||
\hline | ||
\end{tabular} | ||
\end{center} | ||
\end{table} | ||
]]></content> | ||
<tabTrigger>btable</tabTrigger> | ||
<scope>text.tex.latex</scope> | ||
</snippet> |