emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to define shortcut for equations


From: address@hidden
Subject: Re: [O] How to define shortcut for equations
Date: Fri, 31 Jan 2014 09:53:34 -0300

Bastien... You were right! I guess the previous session didn't charge the updated configuration.

Thx. Cheers.


On Fri, Jan 31, 2014 at 9:47 AM, Bastien <address@hidden> wrote:
"address@hidden" <address@hidden>
writes:

> I tried the following but does not work
>
> -----8<------------ Code Start --------->8------
> #+BEGIN_SRC emacs-lisp
> (eval-after-load "org"
>   '(add-to-list 'org-structure-template-alist
>     '("E" "\\begin\{equation\}\n?\n\\end\{equation\}" "")))
> #+END_SRC
> -----8<------------ Code End  --------->8------

It works fine here.  I insert <E at the beginning of the line then hit
TAB then the snippet is expanded.

What version of Org are you using?

--
 Bastien



--
_____________________________________
Oscar Castillo-Felisola.
Grupo de Fisica Teorica.
UTFSM -- CCTVal.
Av. Espana, 1680, Valparaiso-Chile.
______________________________________ 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]