summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc/yasnippet/snippets/latex-mode/section
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-08-27 00:46:57 -0400
committerAmin Bandali <bandali@gnu.org>2019-08-27 01:38:32 -0400
commit2b3c93ec75a0c69ba421bd11260cd46cac70b536 (patch)
tree52d113ce46162c5c7efdeb87a8cbf8c8713e3f9b /.emacs.d/etc/yasnippet/snippets/latex-mode/section
parent3b3615f5761d8949046d65906d3f324eec9b18e8 (diff)
downloadconfigs-2b3c93ec75a0c69ba421bd11260cd46cac70b536.tar.gz
configs-2b3c93ec75a0c69ba421bd11260cd46cac70b536.tar.xz
configs-2b3c93ec75a0c69ba421bd11260cd46cac70b536.zip
emacs: yasnippet: add some convenience snippets for latex-mode
Diffstat (limited to '.emacs.d/etc/yasnippet/snippets/latex-mode/section')
-rw-r--r--.emacs.d/etc/yasnippet/snippets/latex-mode/section8
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/etc/yasnippet/snippets/latex-mode/section b/.emacs.d/etc/yasnippet/snippets/latex-mode/section
new file mode 100644
index 0000000..88faeab
--- /dev/null
+++ b/.emacs.d/etc/yasnippet/snippets/latex-mode/section
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: section
+# key: sec
+# --
+\section{${1:name}}
+\label{sec:${2:label}}
+
+$0 \ No newline at end of file