From: "o.castillo.felisola@gmail.com" <o.castillo.felisola@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to define shortcut for equations
Date: Fri, 31 Jan 2014 09:39:30 -0300 [thread overview]
Message-ID: <CAAJj91e24eQELiemdLQJaeVbs2h_J2g2WpPiq_jZS0M-pm40qw@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2014-01-31 12:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-31 12:39 o.castillo.felisola [this message]
2014-01-31 12:47 ` How to define shortcut for equations Bastien
2014-01-31 12:53 ` o.castillo.felisola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAJj91e24eQELiemdLQJaeVbs2h_J2g2WpPiq_jZS0M-pm40qw@mail.gmail.com \
--to=o.castillo.felisola@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).