emacs-orgmode
[Top][All Lists]
Advanced

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

[O] How to define shortcut for equations


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

Dear community,

I'd like to use the shortcut =<E= to insert a =\begin{equation}   \end{equation}= environment.

How could that be done?

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------


--
_____________________________________
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]