help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Using punctuation in abbrev


From: Jambunathan K
Subject: Re: Using punctuation in abbrev
Date: Sun, 02 Jun 2013 23:40:25 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Aurélien Aptel <aurelien.aptel+emacs@gmail.com> writes:

> On Sun, Jun 2, 2013 at 7:21 AM, Emanuel Berg <embe8573@student.uu.se> wrote:
>> Just curious: what Unicode chars do you regularly use?
>
> mainly arrows, ×, ≠, ≈, ...

You can try this

    1. C-x b *scratch*
    2. M-x set-input-method RET TeX RET
    3. C-\  (M-x toggle-input-method RET)
    4. Type whatever in English
    5. C-\ (M-x toggle-input-method RET)
    6. \times \ne \approx
    7. C-\
    8. Type whatever in English

Step 6 should produce unicode chars for you.  They are easier to
remember. While in TeX input method, on a unicode "not equals" glyph if
you do,

   C-u C-x =

you will see this.  Just focus on "to input" field to get the TeX
encoding for that unicode character.

,----
|              position: 64 of 64 (98%), column: 0
|             character: ≠ (displayed as ≠) (codepoint 8800, #o21140, #x2260)
|     preferred charset: unicode (Unicode (ISO10646))
| code point in charset: 0x2260
|                script: symbol
|                syntax: .      which means: punctuation
|              category: .:Base, c:Chinese, h:Korean, j:Japanese
|              to input: type "\neq" or "\ne" with TeX input method   
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|           buffer code: #xE2 #x89 #xA0
|             file code: #xE2 #x89 #xA0 (encoded by coding system utf-8)
|               display: by this font (glyph code)
|     xft:-unknown-DejaVu Sans 
Mono-normal-normal-normal-*-20-*-*-*-m-0-iso10646-1 (#x7F6)
| 
| Character code properties: customize what to show
|   name: NOT EQUAL TO
|   general-category: Sm (Symbol, Math)
|   decomposition: (61 824) ('=' '̸')
| 
| There are text properties here:
|   fontified            t
`----







reply via email to

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