This should do it: The 2 properties to change are called "fontsize" and
"staff-space" (of staff symbol).
This example will run as-is and shows a smaller soloists melody staff above
a larger staff:
%EXAMPLE BEGIN
\version "2.9.22"
\include "english.ly"
varScaleFactorOne = #-3
varScaleFactorTwo = #+2
\score { { \new ChoirStaff <<
\new Staff \with {
fontSize = \varScaleFactorOne
\override StaffSymbol #'staff-space = #(magstep varScaleFactorOne)
} % end with
{
#(set-accidental-style 'modern)
\clef "treble"
\key ef \major
\time 4/4
c'4 d e f
} % end staff
\new Staff \with {
fontSize = \varScaleFactorTwo
\override StaffSymbol #'staff-space = #(magstep varScaleFactorTwo)
} % end with
{
#(set-accidental-style 'modern)
\clef "treble"
\key ef \major
\time 4/4
c'4 d e f
} % end staff
>> } % end score single expression
} % end main score
%EXAMPLE END
confrey wrote:
>
> hi everybody;
> I'd like tok know how to change the size of a staff, more exactly, I
> need to obtain a piano+melody score, where melody staff is smaller than
> piano staff.
> thanks, bye
>
> confrey
>
> --
>
> confrey
>
> ********************************
> Linux Registered User #240359
> Linux Registered Machine #133789
>
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
--
View this message in context:
http://www.nabble.com/help-about-staff-size-tf2413347.html#a6728721
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user