@@ -520,4 +520,59 @@ snippet subpar* "Sub Paragraph*" wi
520520\s ubparagraph*{$1 ${VISUAL}}
521521endsnippet
522522
523+ snippet chapl " Chapter with label" wi
524+ \c hapter{$1 ${VISUAL}}
525+ \l abel{cha:${2: ${1 / \W + / - / g } } }
526+ endsnippet
527+
528+ snippet secl " Section with label" wi
529+ \s ection{$1 ${VISUAL}}
530+ \l abel{sec:${2: ${1 / \W + / - / g } } }
531+ endsnippet
532+
533+ snippet sec*l " Section* with label" wi
534+ \s ection*{$1 ${VISUAL}}
535+ \l abel{sec:${2: ${1 / \W + / - / g } } }
536+ endsnippet
537+
538+ snippet subl " Subsection with label" wi
539+ \s ubsection{$1 ${VISUAL}}
540+ \l abel{sub:${2: ${1 / \W + / - / g } } }
541+ endsnippet
542+
543+ snippet sub*l " Subsection* with label" wi
544+ \s ubsection*{$1 ${VISUAL}}
545+ \l abel{sub:${2: ${1 / \W + / - / g } } }
546+ endsnippet
547+
548+ snippet subsubl " Subsection with label" wi
549+ \s ubsubsection{$1 ${VISUAL}}
550+ \l abel{ssub:${2: ${1 / \W + / - / g } } }
551+ endsnippet
552+
553+ snippet subsub*l " Subsubsection with label" wi
554+ \s ubsubsection*{$1 ${VISUAL}}
555+ \l abel{ssub:${2: ${1 / \W + / - / g } } }
556+ endsnippet
557+
558+ snippet parl " Paragraph with label" wi
559+ \p aragraph{$1 ${VISUAL}}
560+ \l abel{par:${2: ${1 / \W + / - / g } } }
561+ endsnippet
562+
563+ snippet par*l " Paragraph* with label" wi
564+ \p aragraph*{$1 ${VISUAL}}
565+ \l abel{par:${2: ${1 / \W + / - / g } } }
566+ endsnippet
567+
568+ snippet subparl " Sub Paragraph with label" wi
569+ \s ubparagraph{$1 ${VISUAL}}
570+ \l abel{subp:${2: ${1 / \W + / - / g } } }
571+ endsnippet
572+
573+ snippet subpar*l " Sub Paragraph* with label" wi
574+ \s ubparagraph*{$1 ${VISUAL}}
575+ \l abel{subp:${2: ${1 / \W + / - / g } } }
576+ endsnippet
577+
523578# vim:ft=snippets:
0 commit comments