----- Original Message ----- From: "fabio gabbianelli" <fabiogabbiane...@hotmail.it>
To: <lilypond-user@gnu.org>
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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to