unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Ryan Krauss" <ryanlists@gmail.com>
Subject: LaTeX Keybindings for Math Symbols
Date: Thu, 27 Apr 2006 11:10:12 -0400	[thread overview]
Message-ID: <c5b438120604270810t17205f08ocdf516d8d040a965@mail.gmail.com> (raw)

I would like to create Latex keybindings for math symbols (or find out
what they are if they already exist).  For example, in Vim I used to
have mappings for `t -> \tau so that typing ` and then a english
character would insert the Latex math code for the corresponding greek
symbol (`a would insert \alpha and `b would insert \beta ...).

My first attempts at writing a key binding have failed:
(global-set-key "`q" "\theta")
leads to:
error: "Key sequence ` q uses invalid prefix characters"

So, I think part of the problem is that I need a valid set of
short-cut keys where I can set a,b,d,t, q, w, ...  versions to things.

Do such mappings for latex greek characters already exist?  If not,
can someone help me with an example of a valid global-set-key?

Thanks,

Ryan

             reply	other threads:[~2006-04-27 15:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-27 15:10 Ryan Krauss [this message]
2006-04-27 16:25 ` LaTeX Keybindings for Math Symbols Reiner Steib
2006-04-27 17:10   ` Ryan Krauss
2006-04-27 21:48     ` Reiner Steib
     [not found]   ` <mailman.1033.1146157859.9609.help-gnu-emacs@gnu.org>
2006-04-27 19:03     ` Maarten Bergvelt
2006-04-27 20:04       ` Ryan Krauss
     [not found] <mailman.1028.1146150618.9609.help-gnu-emacs@gnu.org>
2006-04-27 15:36 ` Maarten Bergvelt
2006-04-27 15:52   ` Ryan Krauss

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=c5b438120604270810t17205f08ocdf516d8d040a965@mail.gmail.com \
    --to=ryanlists@gmail.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.
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).