|
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
[Prev in Thread] | Current Thread | [Next in Thread] |