summaryrefslogtreecommitdiff
path: root/ctags
diff options
context:
space:
mode:
Diffstat (limited to 'ctags')
-rw-r--r--ctags9
1 files changed, 9 insertions, 0 deletions
diff --git a/ctags b/ctags
new file mode 100644
index 0000000..0c334fb
--- /dev/null
+++ b/ctags
@@ -0,0 +1,9 @@
+--langdef=latex
+--langmap=latex:.tex
+--regex-latex=/\\label\{([^}]*)\}/\1/l,label/
+--regex-latex=/\\section\{([^}]*)\}/\1/s,section/
+--regex-latex=/\\subsection\{([^}]*)\}/\1/t,subsection/
+--regex-latex=/\\subsubsection\{([^}]*)\}/\1/u,subsubsection/
+--regex-latex=/\\section\*\{([^}]*)\}/\1/s,section/
+--regex-latex=/\\subsection\*\{([^}]*)\}/\1/t,subsection/
+--regex-latex=/\\subsubsection\*\{([^}]*)\}/\1/u,subsubsection/