lilypond-user
[Top][All Lists]
Advanced

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

Re: i have a question about size


From: Phil Holmes
Subject: Re: i have a question about size
Date: Tue, 21 Aug 2012 13:19:36 +0100

----- Original Message ----- From: "fabio gabbianelli" <address@hidden>
To: <address@hidden>
Sent: Tuesday, August 21, 2012 1:00 PM
Subject: i have a question about size


hi, i want to write a piano accompaniment. i write 2 scores, melody and the piano score but i want the melody's size smaller....i have searched in the manual but i didn't find it
i have set the lyl file so:

\header {...
}

melody = {...
}

upper = \relative c'' {...
}

lower = \relative c {...
}

\score {
 <<
   \new Voice = "mel" { \autoBeamOff \melody }
   \new PianoStaff <<
     \new Staff = "upper" \upper
     \new Staff = "lower" \lower
   >>
 >>

}

thanx!
fabio

ps: i didin't write the notes, i write just the file's structure

This should do what you want:

melody = \relative c'' { c4 d e f }

upper = \relative c'' { f4 e d c }

lower = \relative c { \clef "bass" g a b c }

\score {
 <<
   \new Staff \with {
     fontSize = #-2
     \override StaffSymbol #'staff-space = #(magstep -2)
     }
   \new Voice = "mel" { \autoBeamOff \melody }

   \new PianoStaff <<
     \new Staff = "upper" \upper
     \new Staff = "lower" \lower
   >>
 >>

}

See http://lilypond.org/doc/v2.14/Documentation/learning/length-and-thickness-of-objects

--
Phil Holmes



reply via email to

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