[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa e45c6d9 18/35: Add new style/commath.el
From: |
Tassilo Horn |
Subject: |
[elpa] elpa e45c6d9 18/35: Add new style/commath.el |
Date: |
Thu, 1 Sep 2016 15:57:49 +0000 (UTC) |
branch: elpa
commit e45c6d98f00b59db728bbbb6b3116f5fc441de8c
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Add new style/commath.el
* Makefile.in (STYLESRC): Add new style.
* style/commath.el: New file.
---
Makefile.in | 2 +-
style/commath.el | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index ed19fa7..28be5c2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -155,7 +155,7 @@ STYLESRC = style/prosper.el \
style/newfloat.el style/subcaption.el style/AlegreyaSans.el \
style/hologo.el style/theorem.el style/ntheorem.el \
style/splitidx.el style/tikz.el style/xcolor.el \
- style/pdflscape.el
+ style/pdflscape.el style/commath.el
STYLEELC = $(STYLESRC:.el=.elc)
diff --git a/style/commath.el b/style/commath.el
new file mode 100644
index 0000000..fd42550
--- /dev/null
+++ b/style/commath.el
@@ -0,0 +1,102 @@
+;;; commath.el --- AUCTeX style for `commath.sty' (v0.3)
+
+;; Copyright (C) 2016 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati <arash.esbati'at'gmail.com>
+;; Maintainer: address@hidden
+;; Created: 2016-07-31
+;; 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 `commath.sty' (v0.3) from 2006/07/18.
+;; `commath.sty' is part of TeXLive.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "commath"
+ (lambda ()
+
+ ;; Only load amsmath.el, ifthen.el is not necessary
+ (TeX-run-style-hooks "amsmath")
+
+ (TeX-add-symbols
+ '("dif" 0)
+ '("Dif" 0)
+ '("od" [ "Order of differentiation" ] "Function" "Variable")
+ '("tod" [ "Order of differentiation" ] "Function" "Variable")
+ '("dod" [ "Order of differentiation" ] "Function" "Variable")
+ '("pd" [ "Order of differentiation" ] "Function" "Variable")
+ '("tpd" [ "Order of differentiation" ] "Function" "Variable")
+ '("dpd" [ "Order of differentiation" ] "Function" "Variable")
+ '("md" 6)
+ '("tmd" 6)
+ '("dmd" 6)
+ '("del" [ "Size argument (0..4)" ] "Argument")
+ '("cbr" [ "Size argument (0..4)" ] "Argument")
+ '("set" [ "Size argument (0..4)" ] "Argument")
+ '("sbr" [ "Size argument (0..4)" ] "Argument")
+ '("intoo" [ "Size argument (0..4)" ] "Argument")
+ '("intcc" [ "Size argument (0..4)" ] "Argument")
+ '("intoc" [ "Size argument (0..4)" ] "Argument")
+ '("intco" [ "Size argument (0..4)" ] "Argument")
+ '("eval" [ "Size argument (0..4)" ] t)
+ '("sVert" [ "Size argument (0..4)" ])
+ '("envert" [ "Size argument (0..4)" ] "Argument")
+ '("abs" [ "Size argument (0..4)" ] "Argument")
+ '("enVert" [ "Size argument (0..4)" ] "Argument")
+ '("norm" [ "Size argument (0..4)" ] "Argument")
+ '("fullfunction" 5)
+
+ ;; Referencing macros
+ '("thmref" TeX-arg-ref)
+ '("exref" TeX-arg-ref)
+ '("defnref" TeX-arg-ref)
+ '("secref" TeX-arg-ref)
+ '("lemref" TeX-arg-ref)
+ '("propref" TeX-arg-ref)
+ '("remref" TeX-arg-ref)
+ '("figref" TeX-arg-ref)
+ '("colref" TeX-arg-ref)
+ '("appref" TeX-arg-ref)
+ '("assref" TeX-arg-ref))
+
+ ;; Fontification
+ (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("thmref" "{")
+ ("exref" "{")
+ ("defnref" "{")
+ ("secref" "{")
+ ("lemref" "{")
+ ("propref" "{")
+ ("remref" "{")
+ ("figref" "{")
+ ("colref" "{")
+ ("appref" "{")
+ ("assref" "{"))
+ 'reference)))
+ LaTeX-dialect)
+
+(defvar LaTeX-commath-package-options nil
+ "Package options for the commath package.")
+
+;;; commath.el ends here
- [elpa] elpa updated (8eca45c -> a474cb4), Tassilo Horn, 2016/09/01
- [elpa] elpa 2388815 07/35: Change test for PDF Tools availability, Tassilo Horn, 2016/09/01
- [elpa] elpa 7d5c9ba 20/35: ; Add missing macro \DeclareRightDelimiter, Tassilo Horn, 2016/09/01
- [elpa] elpa 5232279 21/35: Remove obsolete TeX-function-p function, Tassilo Horn, 2016/09/01
- [elpa] elpa e4b2e6a 24/35: Make TeX-previous-error go backward, Tassilo Horn, 2016/09/01
- [elpa] elpa fad3600 17/35: Add new style/pdflscape.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 98a83e9 08/35: Fix to doc/auctex.texi, Tassilo Horn, 2016/09/01
- [elpa] elpa f375c1f 22/35: Fold environments with * in name, Tassilo Horn, 2016/09/01
- [elpa] elpa 9e3230f 28/35: Use `TeX-ispell-skip-setcdr' on user defined list environments, Tassilo Horn, 2016/09/01
- [elpa] elpa e45c6d9 18/35: Add new style/commath.el,
Tassilo Horn <=
- [elpa] elpa 29d4cb4 05/35: Document TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 25bdcb2 31/35: Add new style/framed.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 5745c81 02/35: Fix compatibility with GNU Emacs < 24, Tassilo Horn, 2016/09/01
- [elpa] elpa c1a2b33 10/35: ; Add missing space in prompt, Tassilo Horn, 2016/09/01
- [elpa] elpa 7f91fb9 06/35: More about TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 97c992d 09/35: Catch up with deletion of \commondummies in texinfo.tex, Tassilo Horn, 2016/09/01
- [elpa] elpa 4f15be6 15/35: ; Remove wrong entries for varioref.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa 7828a43 16/35: ; Remove wrong entries for cleveref.sty, Tassilo Horn, 2016/09/01
- [elpa] elpa bb9f427 01/35: Grab focus on Evince inverse search, Tassilo Horn, 2016/09/01
- [elpa] elpa dfe0937 12/35: Reset `LaTeX-auto-xcolor-definecolorset' before parsing, Tassilo Horn, 2016/09/01