emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Beard <wcbeard10@wabash.edu>
To: emacs-orgmode@gnu.org
Subject: syntax highlighting for latex elements
Date: Fri, 1 Apr 2011 00:18:37 +0900	[thread overview]
Message-ID: <AANLkTinDaV72UzUk4pZRNcXw--gCj4iZPSZdqK=7Ce3r@mail.gmail.com> (raw)

After learning that I can output my Org documents (with tables,
outlined notes and all!) into LaTeX, I've started writing some notes
with the intention of exporting them to LaTeX. So I've been typing
stuff like (sorry, I'm not sure about the standard for formatting code
for emails):

This equation does such and such:
  F_2(s) = \frac{r_1}{s+2} + \frac{r_2}{s+4} + \frac{r_3}{s+6},
And this equation is used to find...

This stuff outputs fine to tex files, but one thing I'd like is LaTeX
syntax highlighting for things like \begin{...}\frac{...}\end{}. I can
get highlighting in code source blocks, but that gets exported in
verbatim environments in the LaTeX output. If I want syntax
highlighting for these things, should I just be editing a standard
.tex file with the appropriate emacs mode, or is there a (hopefully
simple) way to turn on syntax highlighting for LaTeX elements in
standard org-mode?

Thank you

             reply	other threads:[~2011-03-31 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31 15:18 Chris Beard [this message]
2011-03-31 15:35 ` syntax highlighting for latex elements Eric S Fraga

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:

  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='AANLkTinDaV72UzUk4pZRNcXw--gCj4iZPSZdqK=7Ce3r@mail.gmail.com' \
    --to=wcbeard10@wabash.edu \
    --cc=emacs-orgmode@gnu.org \


* 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


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