Initial Commit
[packages] / xemacs-packages / auctex / style / ragged2e.el
1 ;;; ragged2e.el --- AUCTeX style for `ragged2e.sty'
2
3 ;; Copyright (C) 2011 Free Software Foundation, Inc.
4
5 ;; Author: Mads Jensen <mje@inducks.org>
6 ;; Created: 2011-04-16
7 ;; Keywords: tex
8
9 ;; This file is part of AUCTeX.
10
11 ;; AUCTeX is free software; you can redistribute it and/or modify it
12 ;; under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 3, or (at your option)
14 ;; any later version.
15
16 ;; AUCTeX is distributed in the hope that it will be useful, but
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 ;; General Public License for more details.
20
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with AUCTeX; see the file COPYING.  If not, write to the Free
23 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
24 ;; 02110-1301, USA.
25
26 ;;; Commentary:
27
28 ;; This file adds support for `ragged2e.sty'.
29
30 ;;; Code:
31
32 (TeX-add-style-hook
33  "ragged2e"
34  (lambda ()
35    (TeX-add-symbols
36     "CenteringLeftskip"
37     "RaggedLeftLeftskip"
38     "RaggedRightLeftskip"
39     "CenteringRightskip"
40     "RaggedLeftRightskip"
41     "RaggedRightRightskip"
42     "CenteringParfillskip"
43     "RaggedLeftParfillskip"
44     "RaggedRightParfillskip"
45     "CenteringParindent"
46     "RaggedLeftParindent"
47     "RaggedRightParindent"
48     "JustifyingParfillskip"
49     "JustifyingParindent"
50     "ttraggedright"
51     "Centering"
52     "justifying"
53     "RaggedRight"
54     "RaggedLeft")
55
56    (LaTeX-add-environments 
57     "FlushLeft" "FlushRight" "Center" "justify")
58
59    (TeX-run-style-hooks "footmisc" "everysel"))
60  LaTeX-dialect)
61
62 (defvar LaTeX-ragged2e-package-options 
63   '("originalcommands" "newcommands" "originalparameters" "document"
64     "newparameters" "footnotes" "raggedrightboxes")
65   "Package options for the ragged2e package.")
66
67 ;;; ragged2e.el ends here