From: "Ryan Krauss" <ryanlists@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: LaTeX Keybindings for Math Symbols
Date: Thu, 27 Apr 2006 11:52:10 -0400 [thread overview]
Message-ID: <c5b438120604270852q4815b943h98a8157ded8fe493@mail.gmail.com> (raw)
In-Reply-To: <slrne51p8a.q3h.bergv@bolmikolke.math.uiuc.edu>
Thank you. As I googled around for a while, I eventually came across
auctex, and it does seem like what I want. I was not aware of it when
I made the original post, but I am now.
Thanks,
Ryan
On 4/27/06, Maarten Bergvelt <bergv@math.uiuc.edu> wrote:
> In article <mailman.1028.1146150618.9609.help-gnu-emacs@gnu.org>,
> Ryan Krauss wrote:
>
> > 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?
>
> Are you aware of the existence of AucTeX?
>
> http://www.gnu.org/software/auctex/
>
> It looks as if you want to reinvent the wheel. In particular if you
> enter Math Mode 'a inserts \alpha.
> --
> Maarten Bergvelt
>
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
next prev parent reply other threads:[~2006-04-27 15:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1028.1146150618.9609.help-gnu-emacs@gnu.org>
2006-04-27 15:36 ` LaTeX Keybindings for Math Symbols Maarten Bergvelt
2006-04-27 15:52 ` Ryan Krauss [this message]
2006-04-27 15:10 Ryan Krauss
2006-04-27 16:25 ` 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
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=c5b438120604270852q4815b943h98a8157ded8fe493@mail.gmail.com \
--to=ryanlists@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.