[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help about staff size
From: |
Rick Hansen (aka RickH) |
Subject: |
Re: help about staff size |
Date: |
Mon, 9 Oct 2006 18:28:18 -0700 (PDT) |
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
> address@hidden
> 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.