On Sat 28 Dec 2024 at 15:24:26 (+0100), Simon Albrecht wrote: > I would like to obtain LilyPond output with black and white inverted > (black background, white music and text) for on-screen use and > projections. Does someone know how to achieve that through LilyPond > code, or has it been done before? Should absolutely be an LSR snippet > IMO. > > I could probably figure out something with Ghostscript, but I’d like > to avoid post-processing.
Many PDF viewers will invert the display on command. For example, xpdf -rv (alternatively through the Xpdf.reverseVideo resource), zathura by pressing Ctrl-R when displaying the document, evince ditto with Ctrl-I, mupdf ditto with I. This avoids having to keep multiple documents, and is safer in that you're less likely to send an inverted document to a printer and thereby waste a lot of ink or toner. Cheers, David.