bug-lilypond
[Top][All Lists]
Advanced

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

Re: new Voice creates empty staff


From: Mats Bengtsson
Subject: Re: new Voice creates empty staff
Date: Fri, 27 Jul 2007 14:40:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8

This is completely logical, since a Voice context only can
live within a Staff context. Therefore, LilyPond creates
a new Staff context to host your Voice context.
What you probably want to do is something like

\version "2.10.25"
\score {
<<
\new Staff \new Voice \with {
 \remove "Note_heads_engraver"
 \consists "Completion_heads_engraver"
}
{ c''1 }
\new Staff { e'1 }


}


If you want the change to apply to all voices in the full score,
please read section "Changing context default settings" in
the manual.

  /Mats


andy wrote:

I'm not top posting.

The example below creates 3 staves: an empty one on top and 2 staves with the full notes.

\version "2.10.25"
\score {
\new Voice \with {
 \remove "Note_heads_engraver"
 \consists "Completion_heads_engraver"
}
<<
\new Staff { c''1 }
\new Staff { e'1  }
}

If I omit the 'new Voice' then I get the requested 2 staves.

\version "2.10.25"
\score {
<<
\new Staff { c''1 }
\new Staff { e'1  }
}

Is this a bug or a feature of 'new Voice' ?

rgds
andy



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


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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