1 ;;; lettrine.el --- AUCTeX style for `lettrine.sty'
3 ;; Copyright (C) 2011 Free Software Foundation, Inc.
5 ;; Author: Mads Jensen <mje@inducks.org>
8 ;; This file is part of AUCTeX.
10 ;; AUCTeX is free software; you can redistribute it and/or modify it
11 ;; under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 3, or (at your option)
15 ;; AUCTeX is distributed in the hope that it will be useful, but
16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ;; General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with AUCTeX; see the file COPYING. If not, write to the Free
22 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
27 ;; This file adds support for `lettrine.sty'.
31 (defvar LaTeX-lettrine-key-val-options
41 "Key=value options for \\lettrine")
47 '("lettrine" [ TeX-arg-key-val LaTeX-lettrine-key-val-options ]
49 '("LettrineImageFalse" 0)
50 ;; all of the below can be configured with either \setlength or
53 '("LettrineFontHook" 0)
54 '("LettrineTextFont" 0)
57 '("DefaultLoversize" 0)
62 ;; above settings can also be input a file, and pointed to with
64 '("DefaultOptionsFile" 0))
67 (when (and (fboundp 'font-latex-add-keywords)
68 (eq TeX-install-font-lock 'font-latex-setup))
69 (font-latex-add-keywords '(("lettrine" "[{{")) 'textual)))
72 (defvar LaTeX-lettrine-package-options nil
73 "Package options for the lettrine package.")
75 ;;; lettrine.el ends here