On Thu, 20 May 2010 10:26:08 +0200, Darlan Cavalcante Moreira wrote: > > At Thu, 20 May 2010 09:53:31 +0200, > Christian Moe 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: ℝ (decimal), ℝ (hex) > > Z: ℤ (decimal), ℤ (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 C-\ ucs ' > > > > 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