Initial Commit
[packages] / xemacs-packages / auctex / style / slides.el
1 ;;; slides.el --- AUCTeX style for the `slides' document class
2
3 ;; Copyright (C) 2004, 2013 Free Software Foundation, Inc.
4
5 ;; Author: Ralf Angeli <angeli@iwi.uni-sb.de>
6 ;; Maintainer: auctex-devel@gnu.org
7 ;; Created: 2004-04-21
8 ;; Keywords: tex
9
10 ;; This file is part of AUCTeX.
11
12 ;; AUCTeX is free software; you can redistribute it and/or modify it
13 ;; under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 3, or (at your option)
15 ;; any later version.
16
17 ;; AUCTeX is distributed in the hope that it will be useful, but
18 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20 ;; General Public License for more details.
21
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with AUCTeX; see the file COPYING.  If not, write to the Free
24 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 ;; 02110-1301, USA.
26
27 ;;; Commentary:
28
29 ;; This file adds support for the `slides' document class.  Currently
30 ;; the support is very limited.  You are welcome to improve it.
31
32 ;;; Code:
33
34 (defvar LaTeX-slides-class-options
35   '("a4paper" "a5paper" "b5paper" "letterpaper" "legalpaper" "executivepaper"
36     "landscape" "clock" "draft" "final" "titlepage" "notitlepage" "onecolumn"
37     "twocolumn" "leqno" "fleqn")
38   "Package options for the slides class.")
39
40 (TeX-add-style-hook
41  "slides"
42  (lambda ()
43    (LaTeX-add-environments "slide"
44                            "overlay"
45                            "note")
46    (LaTeX-add-counters "minutes" "seconds")
47    (LaTeX-add-pagestyles "headings" "slide" "overlay" "note")
48    (setq LaTeX-default-document-environment "slide"))
49  LaTeX-dialect)
50
51 ;;; slides.el ends here