This isn't a bug! What happens is that contexts are
placed, vertically, in the order they are created.
In the example, the Lyrics context is created (implicitly)
using the \addlyrics command, which happens strictly
after the beginning of the piece since you first do a
\set ... command. The two Staff contexts, on the other hand,
are created at the beginning of the piece.

One solution is to set the instrumentName using the  \with
syntax:
<<
\new Staff \with {instrumentName = "blah" }{
           {  c'4 c' }
           \addlyrics { bla bla }
      }
\new Staff { c'8 c' c' c' }

>>

Another solution is to apply the \addlyrics command to the
full Staff (note that LilyPond does not consider a lyrics line
to belong to a Staff context, which might not coincide with
your intuition):

<<
\new Staff {
 \set Staff.instrumentName = "blah"
             c'4 c'
       }
       \addlyrics { bla bla }
\new Staff { c'8 c' c' c' }

>>


  /Mats

Valentin Villenave wrote:

2008/5/17 Robert Schröter <[EMAIL PROTECTED]>:

In the example below the lyrics to the first staff appear below the second,

Thanks, added as http://code.google.com/p/lilypond/issues/detail?id=623

Cheers,
Valentin


_______________________________________________
bug-lilypond mailing list
[email protected]
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: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to