emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Darlan Cavalcante Moreira <darcamo@gmail.com>
Cc: emacs-orgmode@gnu.org, mail@christianmoe.com
Subject: Re: org-entities-user
Date: Fri, 21 May 2010 16:37:15 +0100	[thread overview]
Message-ID: <87wruxmfkk.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <4bf4f220.0f67f10a.0f31.2a94@mx.google.com>

[-- Attachment #1: Type: text/plain, Size: 2231 bytes --]

On Thu, 20 May 2010 10:26:08 +0200, Darlan Cavalcante Moreira <darcamo@gmail.com> wrote:
> 
> At Thu, 20 May 2010 09:53:31 +0200,
> Christian Moe <mail@christianmoe.com> 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


[-- Attachment #2: Type: text/plain, Size: 295 bytes --]

-- 
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 >++++++++++[>++++++++++>+++++++++++[<]>-]>++.>++++.<-----.++++++.------.

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2010-05-21 15:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20  3:38 org-entities-user Nathaniel Flath
2010-05-20  6:40 ` org-entities-user Ulf Stegemann
2010-05-20  7:53 ` org-entities-user Christian Moe
2010-05-20  8:26   ` org-entities-user Darlan Cavalcante Moreira
2010-05-21 15:37     ` Eric S Fraga [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wruxmfkk.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=darcamo@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).