lilypond-user
[Top][All Lists]
Advanced

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

Re: Dark Mode sheet music


From: Simon Albrecht
Subject: Re: Dark Mode sheet music
Date: Mon, 30 Dec 2024 17:46:44 +0100

On 28.12.24 15:42, Hans Aikema wrote:
Only done in the context of 'sheet music on powerpoint slides' by means of transparent-background' PNG output with all objects' colors overridden to white and putting them on black-background powerpoint slides.

But I presume you intend to have a PDF output in darkmode setup.


If not and the transparent-PNG route fits you, the basic building blocks are https://lsr.di.unimi.it/LSR/Item?id=443 to get the coloring overridden (which would no longer be needed if you are on the development version as indicated in the LSR)

Combined with
#(ly:set-option 'pixmap-format "pngalpha") % set PNG background to use Alpha transparency

Thanks, Hans. I have never used transparency in PNG, and often it’s more practical to avoid the detour of Powerpoint-type software and just show pdfs… hence my request.

The 2.25 property-defaults method unfortunately doesn’t affect markup outside of scores. Harm’s method from the other sub-thread seems to partly do…

I suppose I might make a feature request for a background-color paper variable.

Best, Simon



reply via email to

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