branch: elpa/cdlatex commit ef1145697d100fe2d4ecf1e8b191a51b4238f80a Author: Carsten Dominik <carsten.domi...@gmail.com> Commit: Carsten Dominik <carsten.domi...@gmail.com>
Update README --- README.md | 4 ++-- cdlatex.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 692a5065b0..84cc5193e1 100644 --- a/README.md +++ b/README.md @@ -173,8 +173,8 @@ the sub/superscript consists of a single character. For example typing "$10^3<TAB>" inserts "$10^3$", but typing "$10^34<TAB>" inserts "$10^{34}$". -If you press `_` or `^` twice, the template inserted will be "_{\rm }" -or "^{\rm }", respectively, to insert a roman sub/super-script. Style +If you press `_` or `^` twice, the template inserted will be `_{\rm }` +or `^{\rm }`, respectively, to insert a roman sub/super-script. Style guides require that all sub and superscipts that are descriptive (so not a mathematical or physical quantity themselves) need to be roman. So $x_i$ if i is an index, but $x_{\rm max}$ to indicate the maximum diff --git a/cdlatex.el b/cdlatex.el index 47a3bfcf54..c97ff9dd9c 100644 --- a/cdlatex.el +++ b/cdlatex.el @@ -199,7 +199,7 @@ ;; inserts "$10^{34}$". ;; ;; If you press `_' or `^' twice, the template inserted will be -;; "_{\rm }" or "^{\rm }", respectively, to insert a roman +;; `_{\rm }' or `^{\rm }', respectively, to insert a roman ;; sub/super-script. Style guides require that all sub and ;; superscipts that are descriptive (so not a mathematical or ;; physical quantity themselves) need to be roman. So $x_i$ is i