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: Bastien
Subject: Re: [O] How to define shortcut for equations
Date: Fri, 31 Jan 2014 13:47:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"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



reply via email to

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