lilypond-user
[Top][All Lists]
Advanced

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

Re: Override baseline-skip according layout-staff-size


From: Rip _Mus
Subject: Re: Override baseline-skip according layout-staff-size
Date: Sun, 29 Jan 2023 12:18:55 +0100

Oh,
it works very well!
Sometimes I get lost in a glass of water..

Thank you!!

Il giorno dom 29 gen 2023 alle ore 12:09 Aaron Hill <lilypond@hillvisions.com> ha scritto:
On 2023-01-29 1:16 am, Rip _Mus wrote:
> in "\override #'(baseline-skip . 0.8)" I'm trying to scale the
> baseline-skip according to the part staff size (16), in fact 16/20 =
> 0.8. I'd like to make this snippet more generic.
> I tried to point, from within the markup, to the Clef grob staff-symbol
> property, to get the staff size, but without success.
> Could you please help me solve?

Probably the most direct way to do this would be:

%%%%
\override #(cons 'baseline-skip (ly:staff-symbol-staff-space grob))
%%%%


-- Aaron Hill

reply via email to

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