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

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

[elpa] externals/auctex 2f75f51 17/36: Add support for LaTeX core comman


From: Tassilo Horn
Subject: [elpa] externals/auctex 2f75f51 17/36: Add support for LaTeX core command \textsubscript
Date: Thu, 22 Dec 2016 13:08:11 +0000 (UTC)

branch: externals/auctex
commit 2f75f51bb8b76fb282f126b4517adfb555a239a5
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Add support for LaTeX core command \textsubscript
    
    * font-latex.el (font-latex-built-in-keyword-classes):
    * latex.el (LaTeX-common-initialization): Add entry for
    "textsubscript" which is in LaTeX core since 2015/01/01.
---
 font-latex.el |    2 +-
 latex.el      |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/font-latex.el b/font-latex.el
index a7982c5..e932577 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -387,7 +387,7 @@ variable `font-latex-fontify-sectioning'." ',num)
     ("textual"
      (("item" "[") ("title" "{") ("author" "{") ("date" "{")
       ("thanks" "{") ("address" "{") ("caption" "[{")
-      ("textsuperscript" "{"))
+      ("textsuperscript" "{") ("textsubscript" "{"))
      'font-lock-type-face 2 command)
     ("bold-command"
      (("textbf" "{") ("textsc" "{") ("textup" "{") ("boldsymbol" "{")
diff --git a/latex.el b/latex.el
index 56cb491..19542b1 100644
--- a/latex.el
+++ b/latex.el
@@ -6284,6 +6284,7 @@ i.e. you do _not_ have to cater for this yourself by 
adding \\\\' or $."
      '("suppressfloats" [ TeX-arg-tb "Suppress floats position" ])
      '("ensuremath" "Math commands")
      '("textsuperscript" "Text")
+     '("textsubscript" "Text")
      '("textcircled" "Text")
      '("mathring" t)
 



reply via email to

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