bug-lilypond
[Top][All Lists]
Advanced

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

Re: [GUB-2.7.39-1] odd break behaviour


From: Mats Bengtsson
Subject: Re: [GUB-2.7.39-1] odd break behaviour
Date: Fri, 17 Mar 2006 10:18:40 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.0.4)

LilyPond needs a Staff context to be able to perform the \break command, therefore if there isn't any such context alive for the moment, LilyPond creates one.

Why not combine the two << ... >> sections into a single one and
just insert the \break command into one of the existing staves?

  /Mats

Quoting Andrzej Kopec <address@hidden>:

In following fragment of code \break statement creates additional Staff context "from
nowhere", and this Staff context lives until parent StaffGroup lives.
(GUB-2.7.39-1 under Linux)

/ak/

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.7.39"
\score {
 {
   \context StaffGroup = "ps"  <<
     \context Staff = "p1" \relative c'' { c4 d e f g2 des }
     \context Staff = "p2" \relative c'  { c4 d e f g2 des }
   >>

   \break %% causes creation of additionas Staff in the "ps" context

     \context StaffGroup = "ps" <<
     \context Staff = "p1" \relative c'' { ges4 f es des c1 }
     \context Staff = "p2"  \relative c' { ges4 f es des c1 }
   >>

 }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


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








reply via email to

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