.emacs.d/snippets/latex-mode/cha.yasnippet

9 lines
257 B
Plaintext
Raw Normal View History

2020-01-13 14:14:54 +00:00
# -*- mode: snippet -*-
# contributor : Mads D. Kristensen <madsdk@gmail.com>
# key : cha
# group: sections
# name : \chapter
# --
\chapter{${1:name}}
\label{${2:"waiting for reftex-label call..."$(unless yas/modified-p (reftex-label nil 'dont-insert))}}
$0