auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 0bc0ff5 29/43: Add fontification


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 0bc0ff5 29/43: Add fontification support \textnormal macro
Date: Sat, 11 Apr 2020 15:05:23 -0400 (EDT)

branch: externals/auctex
commit 0bc0ff588cfdf369147596fe8a601bad3698a462
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Add fontification support \textnormal macro
    
    * font-latex.el (font-latex-built-in-keyword-classes): Add
    entry for \textnormal to "type-command" class.
---
 font-latex.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/font-latex.el b/font-latex.el
index c8e46e1..2d3873f 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -415,7 +415,8 @@ variable `font-latex-fontify-sectioning'." ',num)
      (("ensuremath" "|{\\"))
      font-latex-math-face 1 command)
     ("type-command"
-     (("texttt" "{") ("textsf" "{") ("textrm" "{") ("textmd" "{") 
("oldstylenums" "{"))
+     (("texttt" "{") ("textsf" "{") ("textrm" "{") ("textmd" "{")
+      ("textnormal" "{") ("oldstylenums" "{"))
      font-lock-type-face 1 command)
     ("bold-declaration"
      ("bf" "bfseries" "sc" "scshape" "sscshape" "ulcshape" "upshape" "swshape")



reply via email to

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