unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: LaTeX Keybindings for Math Symbols
Date: Thu, 27 Apr 2006 18:25:51 +0200	[thread overview]
Message-ID: <v9r73j9e9c.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: c5b438120604270810t17205f08ocdf516d8d040a965@mail.gmail.com

On Thu, Apr 27 2006, 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 ...).

In case you use AUCTeX:

,----[ (info "(auctex)Mathematics") ]
| 5.1 Entering Mathematics
| ========================
| 
| TeX is written by a mathematician, and has always contained good
| support for formatting mathematical text.  AUCTeX supports this
| tradition, by offering a special minor mode for entering text with many
| mathematical symbols.  You can enter this mode by typing `C-c ~'.
| 
|  -- Command: LaTeX-math-mode
|      (`C-c ~') Toggle LaTeX-math-mode.  This is a minor mode rebinding
|      the key `LaTeX-math-abbrev-prefix' to allow easy typing of
|      mathematical symbols.  ``' will read a character from the keyboard,
|      and insert the symbol as specified in `LaTeX-math-list'.  If given
|      a prefix argument, the symbol will be surrounded by dollar signs.
| 
|    You can use another prefix key (instead of ``') by  setting the
| variable `LaTeX-math-abbrev-prefix'.
| 
|    To enable LaTeX-math-mode by default, add the following in your
| `.emacs' file:
|      (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2006-04-27 16:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-27 15:10 LaTeX Keybindings for Math Symbols Ryan Krauss
2006-04-27 16:25 ` Reiner Steib [this message]
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=v9r73j9e9c.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).