bug-lilypond
[Top][All Lists]
Advanced

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

Re: magnifyStaff and key signature padding.


From: Pierre Perol-Schneider
Subject: Re: magnifyStaff and key signature padding.
Date: Sun, 16 Jun 2019 20:54:47 +0200

Add to the LSR; http://lsr.di.unimi.it/LSR/Item?id=1094
Cheers,
Pierre

Le sam. 8 juin 2019 à 15:08, Pierre Perol-Schneider <
address@hidden> a écrit :

> Hi bug squad,
>
> magnifyStaff uses the same key signature padding as a full size staff (0).
> Actually, 100% of the chamber music scores facsimiles found on IMSLP have
> a larger padding on smaller staves.
> So here's a workaround proposal:
>
> \version "2.19.83"
>
> scaleStaff = #(define-music-function (scaleFac) (number?)
>                  #{
>                    \magnifyStaff #scaleFac
>                    \override KeySignature.padding = #(* 2/3 (- 1 scaleFac))
>                  #})
>
> sizeTest = #5/7
> keyTest = { \key cis\major s4*4 \bar "" }
>
> \markup\italic "Default output:"
> <<
>   \new Staff \with { \magnifyStaff #sizeTest } \keyTest
>   \new Staff \keyTest
> >>
>
> \markup\italic "Regular output:"
> <<
>   \new Staff \with { \scaleStaff #sizeTest } \keyTest
>   \new Staff \keyTest
> >>
>
> See also: https://notat.io/viewtopic.php?f=2&t=470
>
> Cheers,
> Pierre
>


reply via email to

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