all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [AUCTeX] Background face for block
@ 2010-10-01 13:36 Sébastien Vauban
  0 siblings, 0 replies; only message in thread
From: Sébastien Vauban @ 2010-10-01 13:36 UTC (permalink / raw)
  To: help-gnu-emacs-mXXj517/zsQ

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-01 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 13:36 [AUCTeX] Background face for block Sébastien Vauban

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.