emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Customize listings per language?
@ 2019-12-02  1:48 Michael Gauland
  0 siblings, 0 replies; only message in thread
From: Michael Gauland @ 2019-12-02  1:48 UTC (permalink / raw)
  To: Org-mode

I often have several different babel languages in the same file. I'd
like to be able make them easily distinguished by language (such as
having a different background or shadow).

As far as I can tell, the listings package doesn't let me override
settings by language.

The best solution I've so far is to precede each block with a
directive, such as:

    #+ATTR_LATEX: :options rulesepcolor=\color{green}
    #+begin_src elisp

Any suggestions for a less error-prone solution?

Kind regards,
Mike

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

only message in thread, other threads:[~2019-12-02  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-02  1:48 Customize listings per language? Michael Gauland

Code repositories for project(s) associated with this public inbox

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

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