branch: elpa/cdlatex commit a5cb624ef5f9e3d51fce6faa8dc153277f61043a Author: Carsten Dominik <carsten.domi...@gmail.com> Commit: Carsten Dominik <carsten.domi...@gmail.com>
Fix some typografic issues in README file --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 635d98c3bf..692a5065b0 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ and the cursor positioned between them. You can configure which delimiter are inserted pairwise by configuring the variable `cdlatex-paired-parens'. -Also, the keys `_' and `^' will insert "_{}" and "^{}", +Also, the keys `_` and `^` will insert "_{}" and "^{}", respectively, and, if necessary, also a pair of dollar signs to switch to math mode. You can use TAB to exit paired parenthesis. As a special case, when you use TAB to exit a pair of braces that @@ -173,11 +173,11 @@ 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 }" +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$ is i is an index, but $x_{\rm max}$ to indicate the maximum +So $x_i$ if i is an index, but $x_{\rm max}$ to indicate the maximum value.