all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Insert for each symbol (upside down A) in an emacs text document
Date: Sat, 24 May 2014 06:35:54 +0400	[thread overview]
Message-ID: <877g5bsy2d.fsf@gmail.com> (raw)
In-Reply-To: <87mwe8kld0.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 24 May 2014 09:37:31 +0800")

Eric Abrahamsen (2014-05-24 05:37 +0400) wrote:

> David Hume <David.Hume@example.com> writes:
>
>> David Hume <David.Hume@example.com> writes:
>>
>>> Angus Comber <anguscomber@gmail.com> writes:
>>>
>>>> I am writing up some mathematical documents and would like to use the for
>>>> all (upside down A) and there exists symbol (backwards E).
>>>>
>>>> Firstly, how do I insert these symbols?
>>>>
>>>> Secondly, can I insert into a text document?  Or does it have to be a
>>>> unicode document?
>>>>
>>>> Thirdly, will the symbols be visible in the document when viewing on -
>>>> screen??
>>>
>>> This took some doing, but I found that you can type ctrl-x 8 return and
>>> then enter the hex code 2200
>>>
>>> ∀
>>> ∪
>>> √
>>
>> I forgot to include the link:
>>
>> https://www.gnu.org/software/emacs/manual/html_node/emacs/Inserting-Text.html
>>
>> and the ∃ is 2203.
>>
>> You will need to set the buffer coding before you save it I
>> think.
>
> You can also use the unicode names, that's a little easier. For
> instance, type C-x 8 <RET>, then type "FOR ALL" (you get completion),
> and there's your ∀.

Also if you use those symbols a lot you may bind them to keys, for
example like this:

(global-set-key (kbd "M-A") "∀")
(global-set-key (kbd "M-E") "∃")

or even like this:

(define-key key-translation-map (kbd "M-A") [?∀])
(define-key key-translation-map (kbd "M-E") [?∃])

With the second variant the symbols may be inserted anywhere (including
isearch).



  reply	other threads:[~2014-05-24  2:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1954.1400881655.1147.help-gnu-emacs@gnu.org>
     [not found] ` <7zbnuodqy0.fsf@example.com>
     [not found]   ` <7z7g5cdqnp.fsf@example.com>
2014-05-24  1:37     ` Insert for each symbol (upside down A) in an emacs text document Eric Abrahamsen
2014-05-24  2:35       ` Alex Kost [this message]
2014-05-24  7:30 ` Pascal J. Bourguignon
2014-05-23 21:47 Angus Comber
2014-05-23 22:21 ` Patricia J. Hawkins
2014-05-24  3:30 ` Stefan Monnier
     [not found] ` <mailman.1957.1400883686.1147.help-gnu-emacs@gnu.org>
2014-05-24  7:26   ` Rusi
2014-05-24  8:37     ` Alan Schmitt

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

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

  git send-email \
    --in-reply-to=877g5bsy2d.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.