David Fedoruk wrote:

one other problem with this piece is that when I render this code, I
have an extra treble clef above the two lines of staff I need. What is
the problem with the template I'm using?

############## Code ####################

\version "2.11.36  "
...

    \score {    
       \new PianoStaff <<
                \override SpacingSpanner
                #'base-shortest-duration = #(ly:make-moment 1 16)
I would suspect that this setting causes the extra stave.
If you want the setting to apply to all staves of this PianoStaff,
you should do \override PianoStaff.SpacingSpanner ...
or even better learn the \with syntax:
\new PianoStaff  \with {
 \override SpacingSpanner
    #'base-shortest-duration = #(ly:make-moment 1 16)
 instrumentName = "Piano "
} <<
   \new Staff = "rh" \rh
   \new Staff = "lh" \lh
>>

   /Mats


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

Reply via email to