From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael Subject: Change key binding in math mode only Date: Tue, 04 Mar 2014 14:42:19 -0600 Message-ID: <87r46hr904.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKwAO-0004ss-O7 for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 15:42:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKwAG-0004ZX-BR for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 15:42:20 -0500 Received: from mail-oa0-x234.google.com ([2607:f8b0:4003:c02::234]:36251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKwAG-0004ZS-64 for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 15:42:12 -0500 Received: by mail-oa0-f52.google.com with SMTP id l6so71238oag.25 for ; Tue, 04 Mar 2014 12:42:11 -0800 (PST) Received: from ladell ([200.34.44.68]) by mx.google.com with ESMTPSA id g4sm184217obe.5.2014.03.04.12.42.07 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 04 Mar 2014 12:42:10 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode list Hi all, I have been writing presentations in org-mode lately with a lot of math content. I am using org-cdlatex, and have already customized it to, say, type R'B inside math mode to obtain \mathbb{R}. I wonder, however, if it would be possible to make this procedure shorter, and obtain \mathbb{R} as soon as pressing R, *but only inside math mode*. I guess I could approximate this with abbrevs or yasnippet, but I think this would require an extra key besides the R, which is closer to what I already have. I would appreciate any tips in this direction! Rafael