Not the solution you're asking for, but some PDF readers have an "inverted colors" mode. That's what I would use.
On December 28, 2024 3:24:26 PM GMT+01:00, Simon Albrecht <simon.albre...@mail.de> wrote: >Hello, > >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. > >Best, Simon > >