1 ;;; amsopn.el --- AUCTeX style for the `amsnopn.sty' AMS-LaTeX package
3 ;; Copyright (C) 1997, 2002, 2005, 2013 Free Software Foundation, Inc.
5 ;; Author: Carsten Dominik <dominik@strw.leidenuniv.nl>
6 ;; Mads Jensen <mje@inducks.org>
7 ;; Maintainer: auctex-devel@gnu.org
10 ;; This file is part of AUCTeX.
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)
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.
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
29 ;; This file adds support for `amsnopn.sty'
33 (TeX-add-style-hook "amsopn"
37 '("DeclareMathOperator" (TeX-arg-define-macro "Math Operator: \\")
38 "Expansion text for the math operator")
39 '("DeclareMathOperator*" (TeX-arg-define-macro "Math Operator: \\")
40 "Expansion text for the math operator")
44 (add-to-list 'LaTeX-auto-regexp-list
45 '("\\\\DeclareMathOperator\\*?{?\\\\\\([A-Za-z0-9]+\\)}?"
50 (defvar LaTeX-amsopn-package-options '("namelimits" "nonamelimits")
51 "Package options for the amsopn package.")
53 ;;; amsopn.el ends here.