emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] org-entities-user


From: Eric S Fraga
Subject: Re: [Orgmode] org-entities-user
Date: Fri, 21 May 2010 16:37:15 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Thu, 20 May 2010 10:26:08 +0200, Darlan Cavalcante Moreira <address@hidden> 
wrote:
> 
> At Thu, 20 May 2010 09:53:31 +0200,
> Christian Moe <address@hidden> wrote:
> > 
> > Hi,
> > 
> > 
> > Nathaniel Flath wrote:
> > > Hello,
> > > I've been setting up org-entities-user with a few custom symbols, and 
> > > managed to get a few aliases for items already in org-entities, but i'm 
> > > a bit stuck on adding new items - specifically, the mathbb versions of Z 
> > > and R (the symbols for the sets of integers and reals).  I can't seem to 
> > > find the UTF-8, latin-1, or HTML encodings of these entities - and I'm 
> > > not sure how to input the utf-8 or latin-1 even if I do.  Does anyone 
> > > know how to do this?
> > 
> > Yes, google... :)
> > The search string `symbol Z "set of integers" utf8' gives you a nice 
> > first hit.
> > 
> > HTML entities for double-struck capital Z and R are:
> > 
> > R: &#8477; (decimal), &#x211d; (hex)
> > Z: &#8484; (decimal), &#x2124; (hex)
> > 
> > Latin-1 does not support these characters. Fall back on plain "Z" and 
> > "R" or use a description like "[set of integers]".
> > 
> > To type in the character in Windows, hold down the Alt key while typing 
> > the hex code, e.g. `211d' for R. On the Mac, open the Character Palette 
> > and jump to Letterlike Symbols.
> > 
> > In Emacs, you can select the Unicode input method with
> > 
> > `C-x <RET> C-\ ucs <RET>'
> > 
> > Then typing U followed by the hex code, `U211d', will get you the 
> > double-struck R.
> 
> 
> You can also type
> ,----
> ! C-x 8 RET
> `----
> and then the hex code, instead of changing the input method in Emacs. .
> For instance,
> ,----
> ! C-x 8 RET 221d
> `----
> 
> Darlan

For those of you that are latex users and who cannot remember all
these special codes, one of the best input methods in Emacs is the
"tex" mode which allows you to simply type in \alpha to get α or,
given the original question, \Bbb{R} or \Bbb{Z} to get ℝ or ℤ.  If you
"M-x describe-input-method RET tex RET", you'll get all the special
key sequences it knows (the same obviously applies to the ucs input
method, of course).

HTH,
eric

-- 
MC .  -.. --- -  ..-. .-. .- --. .-  .- -  ..- -.-. .-..  .- -.-.  ..- -.-
NL Professor Eric S Fraga, UCL, http://www.homepages.ucl.ac.uk/~ucecesf/
PG Fingerprint: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
BF >++++++++++[>++++++++++>+++++++++++[<]>-]>++.>++++.<-----.++++++.------.

reply via email to

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