* kamaraju kusumanchi <raju.mailinglists@gmail.com> [160531 06:46]:
> Without using heavy weight stuff such as Latex, could I somehow make
> vim/gvim show subscripts and superscripts?
For single digits and using UTF-8 encoding, this is possible with vim's
digraphs. In insert mode, press
CTRL-K, then the digit, then S (cap S) → ⁰¹²...⁹ for superscripts, or
CTRL-K, then the digit, then s (small s) → ₀₁₂...₉ for subscripts.
Btw., for chemical reactions you might try these nice arrows:
← → ↔ with CTRL-K <- and -> and <>
Use :help digraph or simply :digraphs for more.
Greetings,
mo
--
Markus Osterhoff
http://sci.photos
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Monday, May 30, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment