[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 11/299: * style/mflogo.el: New style by Mads Jensen <address@hidd
From: |
Stefan Monnier |
Subject: |
[elpa] 11/299: * style/mflogo.el: New style by Mads Jensen <address@hidden>. * style/epigraph.el: Ditto. |
Date: |
Sun, 02 Nov 2014 03:09:51 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 44cc6a6360417202ea500af5e0a48474f96856c3
Author: Tassilo Horn <address@hidden>
Date: Thu Dec 27 19:44:27 2012 +0000
* style/mflogo.el: New style by Mads Jensen <address@hidden>.
* style/epigraph.el: Ditto.
---
ChangeLog | 6 ++++
style/epigraph.el | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++
style/mflogo.el | 48 ++++++++++++++++++++++++++++++++++
3 files changed, 127 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 877f3d5..58f945e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-12-27 Tassilo Horn <address@hidden>
+
+ * style/mflogo.el: New style by Mads Jensen <address@hidden>.
+
+ * style/epigraph.el: Ditto.
+
2012-12-27 Ikumi Keita <address@hidden>
* amsmath.el ("amsmath"): Add support for the alignedat
diff --git a/style/epigraph.el b/style/epigraph.el
new file mode 100644
index 0000000..515ff9d
--- /dev/null
+++ b/style/epigraph.el
@@ -0,0 +1,73 @@
+;;; epigraph.el --- AUCTeX style for `epigraph.sty'
+
+;; Copyright (C) 2012 Free Software Foundation, Inc.
+
+;; Author: Mads Jensen <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2012-02-11
+;; 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 `epigraph.sty'.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "epigraph"
+ (lambda ()
+ (TeX-add-symbols
+ '("epigraph" t t)
+ '("qitem" t t)
+ '("epigraphhead" [ "Distance (a number)" ] t)
+ '("dropchapter" TeX-arg-size)
+ "epigraphwidth"
+ "textflush"
+ "epigraphflush"
+ "sourceflush"
+ "epigraphsize"
+ "epigraphrule"
+ "beforeepigraphskip"
+ "afterepigraphskip"
+ "undodrop"
+ "cleartoevenpage")
+
+ (LaTeX-add-environments
+ '("epigraphs" LaTeX-env-item))
+
+ (add-to-list 'LaTeX-item-list '("epigraphs" . LaTeX-epigraph-qitem))
+
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("epigraph" "{{")
+ '("qitem" "{{")
+ '("dropchapter" "{")
+ '("epigraphhead" "{")) 'function)
+ (font-latex-add-keywords '("cleartoevenpage") 'warning))))
+
+(defvar LaTeX-epigraph-package-options nil
+ "Package options for the epigraph package.")
+
+;; adapted from latex.el:`LaTeX-item-bib'
+(defun LaTeX-epigraph-qitem ()
+ "Insert a new qitem for use in the epigraphs environment."
+ (TeX-insert-macro "qitem"))
+
+;;; epigraph.el ends here
diff --git a/style/mflogo.el b/style/mflogo.el
new file mode 100644
index 0000000..6cda90e
--- /dev/null
+++ b/style/mflogo.el
@@ -0,0 +1,48 @@
+;;; mflogo.el --- AUCTeX style for `mflogo.sty'
+
+;; Author: Mads Jensen <address@hidden>
+;; Maintainer: address@hidden
+;; Created: 2011-02-02
+;; 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 `mflogo.sty'.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "mflogo"
+ (lambda ()
+ (TeX-add-symbols
+ '("textlogo" 1)
+ '("logofamily" 1))
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("logofamily" "{")
+ ("textlogo" "{"))
+ 'function))))
+
+(defvar LaTeX-mflogo-package-options nil
+ "Package options for the mflogo package.")
+
+;;; mflogo.el ends here
- [elpa] branch externals/auctex updated (ca06d68 -> 9705600), Stefan Monnier, 2014/11/01
- [elpa] 01/299: * tex-bar.el (TeX-bar-TeX-button-alist, TeX-bar-TeX-buttons): Add `spell' button to run spell-checker., Stefan Monnier, 2014/11/01
- [elpa] 07/299: * style/ulem.el: New style by Mads Jensen <address@hidden>., Stefan Monnier, 2014/11/01
- [elpa] 09/299: * style/lscape.el: New style by Mads Jensen <address@hidden>. * style/amssymb.el: Ditto., Stefan Monnier, 2014/11/01
- [elpa] 11/299: * style/mflogo.el: New style by Mads Jensen <address@hidden>. * style/epigraph.el: Ditto.,
Stefan Monnier <=
- [elpa] 13/299: Fix email address., Stefan Monnier, 2014/11/01
- [elpa] 14/299: * style/multirow.el: New style by Mads Jensen <address@hidden>., Stefan Monnier, 2014/11/01
- [elpa] 15/299: * doc/tex-ref.tex: Fix apparent errors and add keybind entries for C-c ? and `:' (in math mode)., Stefan Monnier, 2014/11/01
- [elpa] 02/299: * images/spell.xpm: New image, copied from Emacs., Stefan Monnier, 2014/11/01
- [elpa] 05/299: * style/footmisc.el: New style by Mads Jensen <address@hidden>., Stefan Monnier, 2014/11/01
- [elpa] 17/299: * style/everysel.el: Fix typos., Stefan Monnier, 2014/11/01
- [elpa] 18/299: * style/afterpage.el: New style by Mads Jensen <address@hidden>., Stefan Monnier, 2014/11/01
- [elpa] 10/299: * amsmath.el ("amsmath"): Add support for the alignedat and subarray environments. Also, add support for the shoveright and shoveleft macros. * font-latex.el (font-latex-math-environments): Add "xxalignat" and "flalign"., Stefan Monnier, 2014/11/01
- [elpa] 08/299: * style/ragged2e.el: New style by Mads Jensen <address@hidden>. * style/mathtools.el: Ditto. * style/everysel.el: Ditto. * style/bigstrut.el: Ditto. * style/bigdelim.el: Ditto., Stefan Monnier, 2014/11/01
- [elpa] 19/299: * ChangeLog: Move name of style file contributors to head of ChangLog entries., Stefan Monnier, 2014/11/01