[emacs] Add snippets for latex mode.

This commit is contained in:
Mikaël Capelle
2019-08-19 15:13:14 +00:00
parent c461099b60
commit 20385bf1f9
60 changed files with 544 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# contributor: Mads D. Kristensen <madsdk@gmail.com>
# key: eqs
# group: math
# name: \begin{align} ... \end{align}
# --
\begin{${1:$$(yas/choose-value '("align" "align*" "multline" "gather" "subequations"))}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0
\end{$1}