1 ;;; setspace.el --- AUCTeX style for `setspace.sty'
3 ;; Copyright (C) 2011 Free Software Foundation, Inc.
5 ;; Author: Mads Jensen <mje@inducks.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 `setspace.sty'.
36 '("setstretch" "Stretch")
37 '("setdisplayskipstretch" "Stretch")
38 '("SetSinglespace" "Stretch")
43 (LaTeX-add-environments
44 '("spacing" "Stretch")
50 (when (and (featurep 'font-latex)
51 (eq TeX-install-font-lock 'font-latex-setup))
52 (font-latex-add-keywords '(("singlespacing" "")
54 ("onehalfspacing" ""))
58 (defvar LaTeX-setspace-package-options
59 '("doublespacing" "onehalfspacing" "singlespacing" "nodisplayskipstretch")
60 "Package options for the setspace package.")
62 ;;; setspace.el ends here