AUCTeX Sync -- New Style Files
[packages] / xemacs-packages / auctex / style / newtxsf.el
1 ;;; newtxsf.el --- AUCTeX style for `newtxsf.sty' (v1.0)
2
3 ;; Copyright (C) 2014 Free Software Foundation, Inc.
4
5 ;; Author: Arash Esbati <arash@gnu.org>
6 ;; Maintainer: auctex-devel@gnu.org
7 ;; Created: 2014-11-22
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 `newtxsf.sty' (v1.0) from 2014/11/14.
30 ;; `newtxsf.sty' is part of TeXLive.
31
32 ;;; Code:
33
34 (TeX-add-style-hook
35  "newtxsf"
36  (lambda ()
37    ;; Run style hook for amsmath
38    (TeX-run-style-hooks "amsmath")
39
40    ;; New symbols
41    (TeX-add-symbols
42     '("upimath"  0)
43     '("upjmath"  0)))
44  LaTeX-dialect)
45
46 (defvar LaTeX-newtxsf-package-options
47   '("scaled"
48     "nosymbolsc"
49     "cmintegrals"
50     "amssymbols"
51     "noamssymbols"
52     "uprightGreek"
53     "slantedGreek"
54     "frenchmath")
55   "Package options for the newtxsf package.")
56
57 ;;; newtxsf.el ends here