help-gnu-emacs
[Top][All Lists]
Advanced

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

[AUCTeX] Background face for block


From: Sébastien Vauban
Subject: [AUCTeX] Background face for block
Date: Wed, 08 Dec 2010 15:30:34 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi,

Under AUCTeX, is it possible to fontify such a block with a special face?

--8<---------------cut here---------------start------------->8---
\lstset{language=SQL}
\begin{lstlisting}
SELECT *
FROM table
WHERE condition
\end{lstlisting}
--8<---------------cut here---------------end--------------->8---

I don't ask for (multiple) major mode fontification -- nothing specific for
SQL, in this case --, just for a way to make that block of code stand up in my
LaTeX buffer, by putting it in a face with a yellow background (for example).

Best regards,
  Seb

-- 
Sébastien Vauban


reply via email to

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