From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ryan Krauss" Newsgroups: gmane.emacs.help Subject: LaTeX Keybindings for Math Symbols Date: Thu, 27 Apr 2006 11:10:12 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146150666 17833 80.91.229.2 (27 Apr 2006 15:11:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Apr 2006 15:11:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 27 17:10:59 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FZ88R-0005bw-Lm for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Apr 2006 17:10:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZ88Q-0002jV-QK for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Apr 2006 11:10:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZ88G-0002jP-5X for help-gnu-emacs@gnu.org; Thu, 27 Apr 2006 11:10:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZ88D-0002jD-QA for help-gnu-emacs@gnu.org; Thu, 27 Apr 2006 11:10:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZ88D-0002jA-Kc for help-gnu-emacs@gnu.org; Thu, 27 Apr 2006 11:10:13 -0400 Original-Received: from [64.233.162.196] (helo=nz-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZ8B9-0006v4-Ji for help-gnu-emacs@gnu.org; Thu, 27 Apr 2006 11:13:15 -0400 Original-Received: by nz-out-0102.google.com with SMTP id o1so1564745nzf for ; Thu, 27 Apr 2006 08:10:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fcGcCWHEIlPW27ktMlzKy7xrWT7hAmwo1h8P84Hpr3yLvQk+ft1PbuILPfAlamaf0FkkhYhpzSmkE8hMyj3Yszp6kG7EcP7Cp9dios4/Sgs6exVOjltB5tFBP7L9B+AqL8zm8NhwwuxE9uNAPdIaIT7X/4qaMiBiOD8JhKPH+iE= Original-Received: by 10.64.3.9 with SMTP id 9mr1866000qbc; Thu, 27 Apr 2006 08:10:12 -0700 (PDT) Original-Received: by 10.64.47.14 with HTTP; Thu, 27 Apr 2006 08:10:12 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34680 Archived-At: 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