emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 14/299: * style/multirow.el: New style by Mads Jensen <address@hi


From: Stefan Monnier
Subject: [elpa] 14/299: * style/multirow.el: New style by Mads Jensen <address@hidden>.
Date: Sun, 02 Nov 2014 03:09:53 +0000

monnier pushed a commit to branch externals/auctex
in repository elpa.

commit 2f3cddc0c26ea97a1578d64dc02c0701f1fb0693
Author: Tassilo Horn <address@hidden>
Date:   Fri Dec 28 15:51:30 2012 +0000

    * style/multirow.el: New style by Mads Jensen <address@hidden>.
---
 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  <address@hidden>
+
+       * style/multirow.el: New style by Mads Jensen <address@hidden>.
+
 2012-12-27  Mos´┐Ż Giordano  <address@hidden>
 
        * 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 <address@hidden>
+;; Maintainer: address@hidden
+;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]