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

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

[nongnu] elpa/cdlatex 75c4e9c4e5 44/49: Added `text` macro in math mode


From: ELPA Syncer
Subject: [nongnu] elpa/cdlatex 75c4e9c4e5 44/49: Added `text` macro in math mode
Date: Mon, 11 Jul 2022 02:58:35 -0400 (EDT)

branch: elpa/cdlatex
commit 75c4e9c4e57768ac4a5889fbf2e96c35ded54082
Author: danielfleischer <daniel.fleischer@amobee.com>
Commit: Philip Kaludercic <philipk@posteo.net>

    Added `text` macro in math mode
    
    Using the shortcut `'t` one can insert text inside equations.
    The `text` macro is the preferable way of inserting text, better than 
`mbox` or `mathrm`, see 
[discussion](https://tex.stackexchange.com/questions/88730/mathrm-or-mbox-what-is-the-convention-when-writing-a-equation).
---
 cdlatex.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cdlatex.el b/cdlatex.el
index 7462040a4a..80acb29f8d 100644
--- a/cdlatex.el
+++ b/cdlatex.el
@@ -1547,6 +1547,7 @@ zZ
     ( ?v    "\\check"             nil        t   t   nil )
     ( ?u    "\\breve"             nil        t   t   nil )
     ( ?m    "\\mbox"              nil        t   nil nil )
+    ( ?t    "\\text"              nil        t   nil nil )    
     ( ?c    "\\mathcal"           nil        t   nil nil )
     ( ?r    "\\mathrm"            "\\textrm" t   nil nil )
     ( ?i    "\\mathit"            "\\textit" t   nil nil )



reply via email to

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