branch: elpa/cdlatex
commit 75c4e9c4e57768ac4a5889fbf2e96c35ded54082
Author: danielfleischer <[email protected]>
Commit: Philip Kaludercic <[email protected]>
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 )