lilypond-user
[Top][All Lists]
Advanced

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

Re: problem with staff size


From: Graeme Lee
Subject: Re: problem with staff size
Date: Tue, 21 Aug 2012 09:24:01 +1000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0


On 20/08/2012 10:21 PM, fabio wrote:
Hi,
i want to write a piano score with melody, but i want the melody smaller!

Hi Fabio.

I had this exact same problem. Here's how I overcame it (with a part-extraction for the violin):

violinSolo = \new Staff \with {

   instrumentName = "Vl."

   midiInstrument = "violin"

   fontSize = #-4

  % Reduce stem length and line spacing to match

   \override StaffSymbol #'staff-space = #(magstep -4)

} \violin


violinPart = \new Staff \with {

   instrumentName = "Vl."

  midiInstrument = "violin"

} \violin

pianoPart = \new PianoStaff \with {

   instrumentName = "Pno."

} <<

   \new Staff = "right" \with {

  midiInstrument = "acoustic grand"

  } \right
  \new Staff = "left" \with {

    midiInstrument = "acoustic grand"

  } { \clef bass \left }

    \context Staff = left \bassline
>>


#(set-default-paper-size "a4")

\score {
  <<

    \violinSolo

    \pianoPart

   >>

   \layout {}

   \midi {}

}

% \pageBreak

\score {
  <<

    \violinPart

  >>

  \layout {}

}


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




reply via email to

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