[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to highlight the LaTeX fragments inside orgmode
From: |
Eric Schulte |
Subject: |
Re: [O] How to highlight the LaTeX fragments inside orgmode |
Date: |
Tue, 21 Jun 2011 12:35:11 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Xin Shi <address@hidden> writes:
> Hello,
>
> I'm looking for a way to highlight the syntax of the LaTeX fragments inside
> orgmode.
>
> I have tried to put the LaTeX parts into:
>
> #+BEGIN_SRC LaTeX
> #+END_SRC
>
> But the output tex file will have the
> \begin{verbatim}
> \end{verbatim}
>
> surrounding the parts. I'm wondering if it's possible to #+BEGIN_LaTeX: also
> highlight the syntax inside the block?
>
> Thanks!
>
> Xin
Hi Xin,
Try the following syntax
#+begin_src latex :exports results :results code
...
#+end_src
Making sure that you have the ob-latex.el loaded.
Note that you can set the two header arguments on the subtree or the
file level so that you don't have to continually re-type them. See the
header arguments portion of the manual for information on how to do
this.
Best -- Eric
--
Eric Schulte
http://cs.unm.edu/~eschulte/
- [O] How to highlight the LaTeX fragments inside orgmode, Xin Shi, 2011/06/21
- Re: [O] How to highlight the LaTeX fragments inside orgmode,
Eric Schulte <=
- Re: [O] How to highlight the LaTeX fragments inside orgmode, Xin Shi, 2011/06/21
- Re: [O] How to highlight the LaTeX fragments inside orgmode, Nick Dokos, 2011/06/21
- Re: [O] How to highlight the LaTeX fragments inside orgmode, Xin Shi, 2011/06/21
- Re: [O] How to highlight the LaTeX fragments inside orgmode, chris . m . malone, 2011/06/21
- Re: [O] How to highlight the LaTeX fragments inside orgmode, Eric Schulte, 2011/06/21
- Re: [O] How to highlight the LaTeX fragments inside orgmode, Xin Shi, 2011/06/21