emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to define shortcut for equations
@ 2014-01-31 12:39 o.castillo.felisola
  2014-01-31 12:47 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: o.castillo.felisola @ 2014-01-31 12:39 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 982 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-31 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-31 12:39 How to define shortcut for equations o.castillo.felisola
2014-01-31 12:47 ` Bastien
2014-01-31 12:53   ` o.castillo.felisola

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).