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

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

[elpa] master 982c4ef 28/34: Readme


From: Vitalie Spinu
Subject: [elpa] master 982c4ef 28/34: Readme
Date: Tue, 7 May 2019 16:05:32 -0400 (EDT)

branch: master
commit 982c4ef91404350ca12a73355a849830474a1147
Author: Vitalie Spinu <address@hidden>
Commit: Vitalie Spinu <address@hidden>

    Readme
---
 readme.md | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/readme.md b/readme.md
index 497b310..bd780f6 100644
--- a/readme.md
+++ b/readme.md
@@ -2,11 +2,11 @@ This add-on defines three 
*[company-mode](http://company-mode.github.io/)* backe
 
 * `company-math-symbols-latex` - math latex tags (_by default, active only on 
latex math faces_)
 
-      
![symbols](https://raw.github.com/vspinu/company-math/master/img/latex-symbols.png)
+   
![symbols](https://raw.github.com/vspinu/company-math/master/img/latex-symbols.png)
 
 * `company-math-symbols-unicode`       - math unicode symbols and 
sub(super)scripts (_by default, active everywhere except math faces_)
 
-      
![math](https://raw.github.com/vspinu/company-math/master/img/unicode-symbols.png)
+   
![math](https://raw.github.com/vspinu/company-math/master/img/unicode-symbols.png)
 
 * `company-latex-commands`             - latex commands 
 
@@ -14,9 +14,13 @@ This add-on defines three 
*[company-mode](http://company-mode.github.io/)* backe
 
 Start math completion by typing the prefix <kbd>`\`</kbd> key. To select the
 completion type <kbd>RET</kbd>. Depending on the context and your configuration
-unicode symbol or latex tag will be inserted. Since version 1.2 
sub(super)script
-completion is available for unicode backend. Subscripts can be inserted either
-with `_` or `\_` prefix. Superscripts with `^` or `\^` prefixes.
+unicode symbol or latex tag will be inserted. 
+
+Since version 1.2 sub(super)script completion is available for the
+`company-math-symbols-unicode` backend. Subscripts are inserted with either 
`__`
+or `\_` prefixes. Superscripts with `^^` or `\^`. Customize
+`company-math-subscript-prefix` and `company-math-superscript-prefix` if you
+don't like this default.
 
 ## Activation ##
 
@@ -53,16 +57,16 @@ If you are using `AUCTeX` you might need to use 
`TeX-mode-hook` instead:
 (add-hook 'TeX-mode-hook 'my-latex-mode-setup)
 ```
 
-## Customization ##
+## Further Customization ##
 
-Set `company-tooltip-align-annotations` to t in order to allin symbols to the
-right as in the above previews.
+Set `company-tooltip-align-annotations` to t in order to align symbols to the
+right as in the snapshots from above.
 
 By default unicode symbols backend (`company-math-symbols-unicode`) is not
 active in latex math environments and latex math symbols
 (`company-math-symbols-latex`) is not available outside of math latex
-environmnts. You can use the following variables to adjust this behavior to 
your
-liking: `company-math-disallow-unicode-symbols-in-faces`,
+environments. You can use the following custom lists of faces to change this
+behavior: `company-math-disallow-unicode-symbols-in-faces`,
 `company-math-allow-unicode-symbols-in-faces`,
 `company-math-disallow-latex-symbols-in-faces`,
 `company-math-allow-latex-symbols-in-faces`.



reply via email to

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