[Top][All Lists]

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

Customize listings per language?

From: Michael Gauland
Subject: Customize listings per language?
Date: Mon, 2 Dec 2019 14:48:56 +1300

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,

reply via email to

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