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, too, had this problem. Someone on the list helped me, but I can't find their name right now :-(
Does the attached sample fit your purpose? It's best to split off (part of) this file into an color.ily file that you can include 'everywhere' you need it, so that you can avoid repetition of the color function.
Please note that I tried my best to find all the relevant grob names, but I might have missed some :-(
Regards,
Christ van Willegen