[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cdlatex cf1dad9f99: Use \mathrm to make index/subscript ro
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cdlatex cf1dad9f99: Use \mathrm to make index/subscript roman in math |
Date: |
Tue, 16 Aug 2022 10:58:20 -0400 (EDT) |
branch: elpa/cdlatex
commit cf1dad9f993f619c987d84181167ff937e576909
Author: Carsten Dominik <carsten.dominik@gmail.com>
Commit: Carsten Dominik <carsten.dominik@gmail.com>
Use \mathrm to make index/subscript roman in math
---
cdlatex.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cdlatex.el b/cdlatex.el
index ddd2a91698..d1c6c8f994 100644
--- a/cdlatex.el
+++ b/cdlatex.el
@@ -850,7 +850,10 @@ When pressed twice, make the sub/superscript roman."
(interactive)
(if (and cdlatex-make-sub-superscript-roman-if-pressed-twice
(equal this-command last-command))
- (insert "\\rm ")
+ (progn
+ ;; (insert "\\rm ")
+ (insert "\\mathrm{}")
+ (backward-char 1))
(if (cdlatex-number-of-backslashes-is-odd)
;; Quoted
(insert (event-basic-type last-command-event))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/cdlatex cf1dad9f99: Use \mathrm to make index/subscript roman in math,
ELPA Syncer <=