lilypond-user
[Top][All Lists]
Advanced

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

Re: staff-space as a variable


From: Xavier Scheuer
Subject: Re: staff-space as a variable
Date: Fri, 24 May 2019 13:38:36 +0200

On Fri, 17 May 2019 at 11:22, Edward Neeman <address@hidden> wrote:
>
> Hello,
>
> How can I modify my tweaks to take into account a smaller staff-space? In the example below, I’d like to set the padding to 1.1 * the staff-space, instead of explicitly writing 0.7.
>
> Previously I was using \magnifyStaff but that caused issues with the final bar line.
>
> Thanks,
> Edward
>
> \version "2.19.83"
>
> <<
>   \relative {
>   \override Staff.StaffSymbol.staff-space = #(magstep -4)
>   \override Staff.StaffSymbol.thickness = #(magstep -4)
>   \set Staff.fontSize = #-4
>   \override TupletBracket.padding = #0.7
>   \tuplet 3/2 { c' c c }
> }
>  \relative {
>   \tuplet 3/2 { c' c c }
> }
> >>

Hello,

I am not a Scheme expert but the following seems to do the trick:

\override TupletBracket.padding = #(* (magstep -4) 1.1)

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>


reply via email to

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