[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: |
Mon, 9 Sep 2019 10:37:13 +0200 |
Anything wrong with this suggestion?
Le dim. 16 juin 2019 à 20:54, Pierre Perol-Schneider <
address@hidden> a écrit :
> 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
>>
>
- Re: magnifyStaff and key signature padding.,
Pierre Perol-Schneider <=