1 ;;; mn2e.el --- AUCTeX style for `mn2e.cls' version 2.2.
3 ;; Copyright (C) 2015 Free Software Foundation, Inc.
5 ;; Maintainer: auctex-devel@gnu.org
6 ;; Author: Mosè Giordano <mose@gnu.org>
9 ;; This file is part of AUCTeX.
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)
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.
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
28 ;; This file adds support for `mn2e.cls' version 2.2.
35 (if (LaTeX-provided-class-options-member "mn2e" "usegraphicx")
36 (TeX-run-style-hooks "graphicx"))
37 (if (LaTeX-provided-class-options-member "mn2e" "usenatbib")
38 (TeX-run-style-hooks "natbib"))
39 (if (LaTeX-provided-class-options-member "mn2e" "usedcolumn")
40 (TeX-run-style-hooks "dcolumn"))
72 ;; 4.5.5 Special symbols
103 '("title" ["Short title"] "Long title")
104 '("author" ["Short author(s)"] (LaTeX-arg-author "Long author(s)"))
109 '("bmath" "Math text")
120 (if (LaTeX-provided-class-options-member "mn2e" "useAMS")
122 ;; 4.5.4 Upright Greek characters
130 (LaTeX-add-environments
134 (LaTeX-add-pagestyles
154 (when (and (featurep 'font-latex)
155 (eq TeX-install-font-lock 'font-latex-setup))
156 (font-latex-add-keywords '(("author" "[{")
170 (defvar LaTeX-mn2e-class-options
171 '("useAMS" "usegraphicx" "usenatbib" "usedcolumn"
172 "doublespacing" "galley" "landscape" "letters" "onecolumn" "referee")
173 "Package options for the mn2e package.")