emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] no fontification of #+BEGIN_LaTeX blocks


From: Julien Cubizolles
Subject: Re: [O] no fontification of #+BEGIN_LaTeX blocks
Date: Mon, 16 Sep 2013 23:26:48 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

"Sebastien Vauban" <address@hidden>
writes:


> No, you could just have the same color as the default (unfontified) from
> source blocks. I mean: fontified source blocks add extra text properties, such
> as "comment", "string", "type", etc.
>
> You could have the same default one, with the same background color, if that's
> what annoys you.

No, that's not the background color that bothers me.

> But I'm not really sure to understand what you try to achieve. Could
>you be
> more explicit?  Could you give a minimal example file?


In the following, begin, center, and braces get different colors
#+BEGIN_SRC latex
 \begin{center}
    \includegraphics[width=0.5\textwidth]{figures/fresnel}
  \end{center}
#+END_SRC

Here everything is the same color, not very good for readability.
#+BEGIN_LaTeX
  \begin{center}
    \includegraphics[width=0.5\textwidth]{figures/fresnel}
  \end{center}
#+END_LaTeX

Since I use them for pieces of code to be exported to Beamer, the latex
block is easier to use (no export options to take care of) but less
readable. Anyway I can edit both with org-edit-src-code, with
fontification, and I'm happy with that so far.

Julien.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]