lilypond-user
[Top][All Lists]
Advanced

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

Re: RepeatSlash size is changed when StaffSymbol.staff-space is override


From: Viktor Mastoridis
Subject: Re: RepeatSlash size is changed when StaffSymbol.staff-space is overriden in 2.24
Date: Mon, 14 Aug 2023 17:55:49 +0100


On Mon, 14 Aug 2023 at 17:40, Jean Abou Samra <jean@abou-samra.fr> wrote:
Le lundi 14 août 2023 à 17:22 +0100, Viktor Mastoridis a écrit :

That change was in fact a bug fix. Percent repeats didn't correctly
scale with the staff size, but now they do.

You can always resize the symbols manually with

\version "2.24.2"

shrink =
\propertyTweak stencil
  #(grob-transformer 'stencil (lambda (grob orig) (ly:stencil-scale orig 0.7
0.7)))
  \etc


\layout {
  \context { 
    \Staff
    \override StaffSymbol.staff-space = #1.5
    \shrink DoubleRepeatSlash
    \shrink RepeatSlash
  }
}

\score {
  \relative c' {
    \repeat percent 2 {c8 d16 e }
    \repeat percent 2 {c8 d }
    \repeat percent 2 {c2 d4 e }
  }
}



May I ask why you want them that way, though?

Generally speaking, why don't you just use #(set-global-staff-size xxx) ?
It will also properly scale the clefs, time signatures, etc. For me,
a score with a "C" time signature that doesn't occupy the full extent
between the second and the fourth staff lines looks quite weird.

Excellent, this works well.
Thank you very much.

As to why - because I use the \easyHeads and it gives plenty of space for note names to be displayed in large letters, as in the example attached. 
This is in addition to the #(set-global-staff-size xxx) which I also use. 
Again, this is for easy notation for 5-7 years old. 


Attachment: 2.24b.jpg
Description: JPEG image


reply via email to

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