Add yasnippet snippets for latex
- f1 adds a frac 1/ something - prob adds a section and align*
This commit is contained in:
parent
12523f7a37
commit
3974264bd6
5
.emacs.d/snippets/latex-mode/f1
Normal file
5
.emacs.d/snippets/latex-mode/f1
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# -*- mode: snippet; require-final-newline: nil -*-
|
||||||
|
# name: frac1
|
||||||
|
# key: f1
|
||||||
|
# --
|
||||||
|
\frac{1}{$1}$0
|
8
.emacs.d/snippets/latex-mode/problem
Normal file
8
.emacs.d/snippets/latex-mode/problem
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# -*- mode: snippet; require-final-newline: nil -*-
|
||||||
|
# name: problem
|
||||||
|
# key: prob
|
||||||
|
# --
|
||||||
|
\sub$1section{}
|
||||||
|
\begin{align*}
|
||||||
|
$0
|
||||||
|
\end{align*}
|
Loading…
Reference in New Issue
Block a user