Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ based on http://keepachangelog.com/en/1.0.0/
### Added
- Source text for preview image ([#195](https://github.com/area/language-latex/pull/195)).
- Support for `\regexp{...}` command ([#196](https://github.com/area/language-latex/pull/196)).
- Snippets for `\binom` and `\intertext` in equations ([#209](https://github.com/area/language-latex/pull/209))


## [1.2.0] - 2018-09-23
Expand Down
6 changes: 6 additions & 0 deletions snippets/language-latex.cson
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@

# math, taken from https://github.com/SublimeText/LaTeXTools/blob/master/LaTeX%20math.sublime-completions
'.text.tex.latex .string.other.math':
'intertext':
'prefix': 'inter'
'body': '\\\\intertext{$1}$0'
'math italic':
'prefix': 'it'
'body': '\\\\mathit{$1}$0'
Expand All @@ -129,6 +132,9 @@
'fraction':
'prefix': 'frac'
'body': '\\\\frac{$1}{$2}$0'
'binomial':
'prefix': 'binom'
'body': '\\\\binom{$1}{$2}$0'
'aligned':
'prefix': 'aligned'
'body': '\\\\begin{aligned}$1\n\t$0\n\\\\end{aligned}'
Expand Down