This is a collection of snippets to be used in Sublime Text 3 to assist writing LaTex documents. Most snippets currently available are a port of the snippets that can be found in this repository that were adapted to function in ST3.
Feel free to use this collection and even add to it if you find that there is something missing :)
This repo is still a work in progress and there are frequent additions/changes, to stay up to date, add it to your watchlist.
I would like to thank Honza for letting me do this project.
- Clone this repository or download the files as .zip
- Place the file in the Sublime Text 3 packages directory then restart Sublime:
- On Windows:
C:\Users\{user}\AppData\Roaming\Sublime Text 3\Packages
- On Linux:
~/.config/sublime-text-3/Packages
Tab Trigger | Description |
---|---|
alert | alert text |
alertblock | alertblock environment |
ali | no description (yet) |
begin | no description (yet) |
block | block environment |
bf | bold face text |
{ | { } |
cas | cases environment |
center | center environment |
cha | \chapter |
cite | \cite[]{} |
citea | \citeauthor |
citen | \citen |
citep | \citep |
citet | \citet |
citey | \citeyear |
col2 | two-column environment |
dmo | no description (yet) |
desc | description environment |
itd | description \item |
emp | emphasize text |
enq | enquote |
enum | enumerate environment |
enuma | enumerate with arabic numbers |
enumi | enumerate with small roman characters |
eqnarray | eqnarray environment |
eq | no description (yet) |
example | exampleblock environment |
fig | figure environment (includegraphics) |
figure | reference to a figure |
fcite | \footcite[]{} |
ft | \footnote |
frac | \frac{}{} |
frame | frame environment |
gat | gather(ed) environment |
href | no description (yet) |
index | \index |
ita | italic text |
itd | description \item |
it | new list item |
item | itemize environment |
]i | endless new item |
lab | \label |
eql | labelled equation environment |
lim | \lim_{} |
listing | reference to a listing |
lr | left right |
lra | langle rangle |
lr{ | left{ right} |
lr | |
lr( | left( right) |
lr[ | left[ right] |
lsi | no description (yet) |
lst | code listing |
mc | mathcal |
mf | mathfrak |
ms | mathscr |
mat | smart matrix environment |
multicol2 | two-column environment with multicol |
nc | create a new command |
nuc | no description (yet) |
ni | \noindent |
over | overline text |
page | reference to a page |
par | \paragraph |
part | document \part |
rm | roman font text |
sf | sans serif text |
sec | \section |
section | reference to a section |
sc | small caps text |
spl | split environment |
stackrel | \stackrel{}{} |
subfig | subfigure environment |
subp | \subparagraph |
tsub | subscripted test |
sub | \subsection |
ssub | \subsubsection |
sum | \sum^{}_{} |
tsup | superscripted text |
table | reference to a table |
tab | tabular (or arbitrary) environment |
thm | thm (or arbitrary) environment with optional argument |
tikzcd* | tikzcd environment in equation* |
tikz | figure environment (tikzpicture) |
tikzcd | tikzcd environment in equation |
tt | monospace text |
under | underline text |
\ | unnumbered equation |
eq* | unnumbered equation environment |
sec* | \section* |
sub* | \subsection* |
ssub* | \subsubsection* |
url | no description (yet) |
up | \usepackage{} |