monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 2f3cddc0c26ea97a1578d64dc02c0701f1fb0693
Author: Tassilo Horn <[email protected]>
Date: Fri Dec 28 15:51:30 2012 +0000
* style/multirow.el: New style by Mads Jensen <[email protected]>.
---
ChangeLog | 4 ++++
style/multirow.el | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 92fbc72..2b6229d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-28 Tassilo Horn <[email protected]>
+
+ * style/multirow.el: New style by Mads Jensen <[email protected]>.
+
2012-12-27 Mos� Giordano <[email protected]>
* style/siunitx.el (LaTeX-siunitx-package-options): New variable.
diff --git a/style/multirow.el b/style/multirow.el
new file mode 100644
index 0000000..abe1fa6
--- /dev/null
+++ b/style/multirow.el
@@ -0,0 +1,51 @@
+;;; multirow.el --- AUCTeX style for `multirow.sty'
+
+;; Copyright (C) 2011 Free Software Foundation, Inc.
+
+;; Author: Mads Jensen <[email protected]>
+;; Maintainer: [email protected]
+;; Keywords: tex
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Commentary:
+
+;; This file adds support for `multirow.sty'.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "multirow"
+ (lambda ()
+ (TeX-add-symbols
+ '("multirow" "Number of rows"
+ [ "Big struts" ] "Width" [ "Fixup" ] t)
+ "multirowsetup")
+
+ (if (not (boundp 'LaTeX-bigstruct-package-options))
+ (TeX-add-symbols "bigstrutjot"))
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("multirow" "{[{")) 'function))))
+
+(defvar LaTeX-multirow-package-options nil
+ "Package options for the multirow package.")
+
+;;; multirow.el ends here