Thursday, June 2, 2016

Re: subscripts and superscripts

On Thu, Jun 2, 2016 at 10:31 AM, Charles E Campbell
<drchip@campbellfamily.biz> wrote:
> kamaraju kusumanchi wrote:
>> For normal editing purposes, I use vim and it works great. But once in
>> a while, I want to use subscripts and superscripts. For example, while
>> writing chemical equations I would like to see O with a subscript 2 to
>> represent the Oxygen molecule. Without using heavy weight stuff such
>> as Latex, could I somehow make vim/gvim show subscripts and
>> superscripts?
>>
>
> With my math plugin (see
> http://www.drchip.org/astronaut/vim/index.html#MATH), one may use visual
> mode on a digit and press "_" to make it into a subscript and press
> "^" to make it into a superscript. Use visual mode to select a
> alphameric character and press "&amp;" to make it into a corresponding
> Greek character. Use visual mode on a "->" or "<-" and transform it
> into a nice Utf-8 arrow.

Thanks Chip. The screenshot on the plugin page looks great.Will try it out.

raju
--
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

--
--
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.

No comments: