lilypond-devel
[Top][All Lists]
Advanced

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

Re: Polymetric spacing bug


From: Carl Sorensen
Subject: Re: Polymetric spacing bug
Date: Thu, 2 Dec 2010 16:24:38 -0700



On 12/2/10 4:18 PM, "Michael Käppler" <address@hidden> wrote:

> Though polymetric notation is documented to work, it sometimes leads to
> unexpected page overflow.
> Then again, with other time signature combinations, it works very well.
> What is the reason for this
> variable behaviour?
> 
I believe it's because the line can only break when both staves have a bar
line at the end of the line.

You can facilitate a break by adding \bar " " at the point where you'd like
a break.


\version "2.13.40"
\include "deutsch.ly"

stimmeI = {
   \clef treble
<<
     \relative c'' {
       \time 3/4
       \repeat unfold 9 {
         a4 \bar " " a \bar " " a
       }
     }
 >>
}

stimmeII = {
   \clef treble
<<
     \relative c'' {
       \time 7/8
       \repeat unfold 8 {
         g8 g g g g g g
       }
     }
 >>
}

\score {
<<
     \new StaffGroup <<
       \new Staff \stimmeI
       \new Staff \stimmeII
 >>
 >>
   \layout {
     \context {
       \Score
       \remove "Timing_translator"
       \remove "Default_bar_line_engraver"
     }
     \context {
       \Staff
       \consists "Timing_translator"
       \consists "Default_bar_line_engraver"
     }
   }
}

HTH,

Carl




reply via email to

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