1 Oct 2009 08:59
Re: different sizes for instrument names (Staff vs. PianoStaff)
Marc Hohl <marc <at> hohlart.de>
2009-10-01 06:59:56 GMT
2009-10-01 06:59:56 GMT
Mats Bengtsson schrieb:
> The simple explanation is that the fontSize property is handled by the
> Font_size_engraver, which by default lives in the Staff context. Since
> the PianoStaff instrument names are typeset at the PianoStaff level,
> it means that the value of fontSize isn't used, then.
> One solution is to add the engraver also at the PianoStaff level:
> \layout{
> \context{
> \PianoStaff
> \consists "Font_size_engraver"
> }
> }
Ah, I understand. Thanks for this clarification!
>
> As far as I can see, this does not influence how the fontSize property
> is handled at the Staff level, so there should be no negative
> side-effects.
Wouldn't it make sense to include the Font_size_engraver by default into
the PianoStaff context?
>
> An alternative, is to explicitly set the font size for the instrument
> names:
> \new PianoStaff \with { \override InstrumentName #'font-size =
> #(magnification->font-size 2/3) ... }
>
I found yet another solution via \markup:
\new PianoStaff \with { instrumentName = \markup { \font-size
#(magnification->font-size 2/3) ... } }
Thanks,
(Continue reading)
RSS Feed