diff options
author | Karl Berry <karl@freefriends.org> | 2008-03-30 23:18:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-03-30 23:18:12 +0000 |
commit | 51b494961c4ad3ca60e567bf2faec44e3ffc17f8 (patch) | |
tree | 5aa52b9a663811c73a8d783373815acdda7573ee /Master/texmf-dist/doc/latex/labbook/labbook.el | |
parent | a89bda1ec91f2d9eeab110b54b8169c53a30a0de (diff) |
labbook update (31mar08)
git-svn-id: svn://tug.org/texlive/trunk@7247 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/labbook/labbook.el')
-rw-r--r-- | Master/texmf-dist/doc/latex/labbook/labbook.el | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/labbook/labbook.el b/Master/texmf-dist/doc/latex/labbook/labbook.el new file mode 100644 index 00000000000..a71af8b92a4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/labbook/labbook.el @@ -0,0 +1,39 @@ +(TeX-add-style-hook "labbook" + (lambda () + (TeX-add-symbols + '("newexperiment" "abbreviation" t) + '("newsubexperiment" "abbreviation" t) + ) + (setq LaTeX-largest-level (LaTeX-section-level "chapter")) + ;; load basic definitons + (TeX-run-style-hooks "scrbase") + (TeX-run-style-hooks "scrbook") + (make-local-variable 'LaTeX-section-list) + (setq LaTeX-section-list + '(("part" 0) + ("labday" 1) + ("chapter" 1) + ("experiment" 2) + ("section" 2) + ("subexperiment" 3) + ("subsection" 3) + ("subsubsection" 4) + ("paragraph" 5) + ("subparagraph" 6) + ("addpart" 0) + ("addsec" 2) + ("minisec" 7))) + (setq LaTeX-section-label + '(("chapter" . "day:") + ("labday" . "day:") + ("section" . "sec:") + ("experiment" . "sec:") + ("subexperiment" . "sec:") + ("subsection" . "sec:"))) + (if (fboundp 'reftex-add-section-levels) + (reftex-add-section-levels '(("labday" . 1) + ("experiment" . 2) + ("subexperiment" . 3)))) +)) + + |