1 ;;; XCharter.el --- AUCTeX style for `XCharter.sty' (v1.094)
3 ;; Copyright (C) 2014, 2017 Free Software Foundation, Inc.
5 ;; Author: Arash Esbati <arash@gnu.org>
6 ;; 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 `XCharter.sty' (v1.094) from 2017/08/08.
30 ;; `XCharter.sty' is part of TeXLive.
38 ;; Run style hook for various packages loaded by XCharter
39 (TeX-run-style-hooks "textcomp" "fontaxes")
44 ;; Only preamble commands
49 '("textsu" t) ; superior figures
51 '("textin" t) ; inferior figures
53 '("textlf" t) ; lining figures
55 '("textosf" t) ; oldstyle figures
56 '("textosfI" t) ; oldstyle figures alternate
57 '("osfstyle" -1) ; whatever oldstyle option is in force
58 '("textnumerator" t) ; numerators
60 '("textdenominator" t) ; denominators
65 (when (and (featurep 'font-latex)
66 (eq TeX-install-font-lock 'font-latex-setup))
67 (font-latex-add-keywords '(("textsu" "{")
74 ("textdenominator" "{")
78 (font-latex-add-keywords '(("sustyle" "")
85 (defvar LaTeX-XCharter-package-options
86 '("lining" "lf" "oldstyle" "osf" "oldstyleI" "osfI"
87 "scaled" "sups" "scosf")
88 "Package options for the XCharter package.")
90 ;;; XCharter.el ends here