From a12fb60c72e896b4de3bdc460eb00aa05590c323 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sat, 23 Jun 2018 00:21:57 +0200 Subject: [PATCH] emacs: Add chapter snippet for latex --- emacs/.emacs.d/snippets/latex-mode/chapter | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 emacs/.emacs.d/snippets/latex-mode/chapter diff --git a/emacs/.emacs.d/snippets/latex-mode/chapter b/emacs/.emacs.d/snippets/latex-mode/chapter new file mode 100644 index 0000000..5a7466f --- /dev/null +++ b/emacs/.emacs.d/snippets/latex-mode/chapter @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: chapter +# key: cha +# -- +\chapter{$1} +\label{ch:$2}