Monday, January 30, 2012

Re: diagraphs and subscripting

On Mon, January 30, 2012 12:15 pm, Eric Smith wrote:
>
> Following these commands;
> Superscripts: <cntrl-K> + [number key] + S
> Subscripts: <cntril-K> + [number key] + s
>
> Superscripting woks for me only with the numbers 2 and 3.
> And I cannot achieve any subscripting of numbers.
>
> On first line is 2 and 3 with an upper case S and on second line
> with a lower case s.
>
> ² ³
> ₂ ₃
>
> (file)encoding=utf-8

It should work, but most probably you only see empty rectangles or
question marks. This usually means, your font/terminal cannot display
that glyph and replaces it by a default glyph. The actual codepoints
are correct, though. I checked using the unicode.vim plugin and the
:UnicodeName command.

That basically means, you need to configure your gvim to use an apropriate
monospaced font. See :h 'guifont' and use e.g. :set guifont=* to select
a nice font from the dialogbox on GTK2 built or Windows.

For the terminal vim, you need to configure your terminal vim to use a
different font, that displays those characters.

regards,
Christian


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

No comments:

Post a Comment