diff --git a/CHANGELOG.md b/CHANGELOG.md index 16915cd..b3952e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/snippets/language-latex.cson b/snippets/language-latex.cson index 99734ed..39c41d1 100644 --- a/snippets/language-latex.cson +++ b/snippets/language-latex.cson @@ -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' @@ -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}'