Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
CharbelAD committed Jun 3, 2020
1 parent 353d258 commit 4e90ea3
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 0 deletions.
11 changes: 11 additions & 0 deletions snippets/cases_env.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<snippet>
<content><![CDATA[
\begin{cases}
${1:equation}, &\text{ if }${2:case}\\
${0}
\end{cases}]]>
</content>
<tabTrigger>cas</tabTrigger>
<scope>text.tex</scope>
<description>cases environment</description>
</snippet>
9 changes: 9 additions & 0 deletions snippets/chapter.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<snippet>
<content><![CDATA[
\chapter{${1:chapter name}}
\label{cha:$1}
${0}]]>
</content>
<tabTrigger>cha</tabTrigger>
<scope>text.tex</scope>
</snippet>
8 changes: 8 additions & 0 deletions snippets/description_item.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
\item[${1:description}] ${0:item}]]>
</content>
<tabTrigger>itd</tabTrigger>
<scope>text.tex</scope>
<description>description \item</description>
</snippet>
8 changes: 8 additions & 0 deletions snippets/figure.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
${1:Figure}~\ref{${2:fig:}}]]>
</content>
<tabTrigger>figure</tabTrigger>
<scope>text.tex</scope>
<description>reference to a figure</description>
</snippet>
7 changes: 7 additions & 0 deletions snippets/noindent.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<snippet>
<content><![CDATA[
\noindent $0]]>
</content>
<tabTrigger>ni</tabTrigger>
<scope>text.tex</scope>
</snippet>
11 changes: 11 additions & 0 deletions snippets/part_document.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<snippet>
<content><![CDATA[
\part{${1:part name}} % (fold)%
\label{prt:${1}}
${0}
% part $1 (end)]]>
</content>
<tabTrigger>part</tabTrigger>
<scope>text.tex</scope>
<description>part document</description>
</snippet>
9 changes: 9 additions & 0 deletions snippets/section.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<snippet>
<content><![CDATA[
\section{${1:section name}}
\label{sec:$1}
${0}]]>
</content>
<tabTrigger>sec</tabTrigger>
<scope>text.tex</scope>
</snippet>
10 changes: 10 additions & 0 deletions snippets/spl_env.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<snippet>
<content><![CDATA[
\begin{split}
${0}
\end{split}]]>
</content>
<tabTrigger>spl</tabTrigger>
<scope>text.tex</scope>
<description>split environment</description>
</snippet>
8 changes: 8 additions & 0 deletions snippets/table.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
${1:Table}~\ref{${2:tab:}}]]>
</content>
<tabTrigger>table</tabTrigger>
<scope>text.tex</scope>
<description>reference to a table</description>
</snippet>

0 comments on commit 4e90ea3

Please sign in to comment.