Viktor Mastoridis <[email protected]> writes:
> On Tue, 15 Aug 2023 at 10:59, Jean Abou Samra <[email protected]> wrote:
>
>> Le mardi 15 août 2023 à 01:37 +0100, Viktor Mastoridis a écrit :
>> > The previous code (shrink =...) doesn't work for tabs...
>>
>>
>> It works here:
>
> Ah, it's TabStaff (not Staff), of course!
> \layout {
> \context {
> * \TabStaff...*
>
> Thank you so much for your help, Jean!
If you want to cover _all_ Staff-like contexts, you can do
\version "2.24.2"
shrink =
\propertyTweak stencil
#(grob-transformer 'stencil (lambda (grob orig) (ly:stencil-scale orig 0.7
0.7)))
\etc
\layout {
\shrink Staff.PercentRepeat
\shrink Staff.RepeatSlash
\shrink Staff.DoubleRepeatSlash
}
\new TabStaff \with {
stringTunings = #ukulele-tuning
}
\relative c {
\tabFullNotation
\repeat percent 2 { c'4 d e g}
\repeat percent 2 { c,16 d16 e8}
\repeat percent 2 { c8 d8}
}
--
David Kastrup