emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* math minor mode for #+BEGIN_EQUATION blocks
@ 2014-07-18 23:03 stevejb
  2014-07-27 23:16 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: stevejb @ 2014-07-18 23:03 UTC (permalink / raw)
  To: emacs-orgmode


I have found that it can be useful for me to write equations as follows:

#+LABEL: eq:eq1
#+LATEX: \int_{r}^{\infty} x \lambda e^{-\lambda x} dx 

rather than

  \int_{r}^{\infty} x \lambda e^{-\lambda x} dx 

I typically use org-cdlatex-mode for typesetting math. When I am inside a \begin{equation} \end{equation}, all of the expected keyboard shortcuts work. I have two questions: 

1. How can I make Emacs recognize that once I type '#+LATEX:' that the rest of the line should be treated as being in the same minor mode as inside of a  \begin{equation} \end{equation}?
2. If question 1 gets solved, will org-preview-latex-fragment work as expected?

Thanks in advance,

Sent with my mu4e

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

end of thread, other threads:[~2014-07-28 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-18 23:03 math minor mode for #+BEGIN_EQUATION blocks stevejb
2014-07-27 23:16 ` Bastien

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


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