auctex-diffs
[Top][All Lists]
Advanced

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

master 3f0d5a74: Add support for \linespread macro


From: Arash Esbati
Subject: master 3f0d5a74: Add support for \linespread macro
Date: Fri, 13 May 2022 12:15:15 -0400 (EDT)

branch: master
commit 3f0d5a741163280c8a494ed2148fbc7ccd846468
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    Add support for \linespread macro
    
    * font-latex.el (font-latex-built-in-keyword-classes): Add
    "linespread" to function keyword class.
    
    * latex.el (LaTeX-common-initialization): Add entry for
    "linespread" macro.
---
 font-latex.el | 2 +-
 latex.el      | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/font-latex.el b/font-latex.el
index 935d12a7..b0f8ae33 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -362,7 +362,7 @@ variable `font-latex-fontify-sectioning'." ',num)
       ("qbezier" "[(((") ("raisebox" "{[[{")
       ("addvspace" "{") ("vspace" "*{") ("hspace" "*{")
       ("addcontentsline" "{{{") ("addtocontents" "{{")
-      ("labelformat" "{{")
+      ("labelformat" "{{") ("linespread" "{")
       ("AddToHook" "{[{") ("RemoveFromHook" "{[") ("AddToHookNext" "{{")
       ("ProvidesClass" "{[") ("ProvidesPackage" "{[") ("ProvidesFile" "{[")
       ;; XXX: Should macros without arguments rather be listed in a
diff --git a/latex.el b/latex.el
index 855d9717..8bdbc94b 100644
--- a/latex.el
+++ b/latex.el
@@ -7896,6 +7896,8 @@ function would return non-nil and `(match-string 1)' 
would return
      ;; User level reset macros:
      '("normalfont" -1) '("normalshape" -1)
 
+     '("linespread" "Factor")
+
      ;; LaTeX hook macros:
      '("AddToHook"      TeX-arg-hook [ "Label" ] t)
      '("RemoveFromHook" TeX-arg-hook [ "Label" ])



reply via email to

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