浏览代码

modify tex-sections-snippets

kevin.heinicke 11 年之前
父节点
当前提交
d1cfddc879
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      vim-snippets/tex.snippets

+ 5 - 0
vim-snippets/tex.snippets

@@ -2,6 +2,11 @@
 # Section
 snippet sec
 	\section{${1}}
+	\label{sec:${2}}
+# Subsection
+snippet subsec
+	\subsection{${1}}
+	\label{subsec:${2}}
 # Figure
 snippet fig
 	\begin{figure}