lilypond-devel
[Top][All Lists]
Advanced

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

Re: Previous discussion on tuplet breaking over lines?


From: Trevor Baca
Subject: Re: Previous discussion on tuplet breaking over lines?
Date: Sat, 30 Jul 2005 16:02:06 -0500

On 7/29/05, Han-Wen Nienhuys <address@hidden> wrote:
> Trevor Baca wrote:
> > Hello,
> >
> > Tuplets don't ever break over lines currently (unless I'm misreading
> > the code, or just haven't dug enough yet).
> 
> I'm pretty sure they do. What's the problem?

If we compare

\score {
   \new StaffGroup <<
      \new Staff {\clef treble e'2 e' | e' e'}
      \new Staff {\clef bass
         c'4 c' c' c' \break | % this break does what we expect 
         c' c' c' c'}
   >>
   \layout {raggedright = ##t}
}

... with ...

\score {
   \new StaffGroup <<
      \new Staff {\clef treble \times 4/5 {e'2 e' e' e' e'}}
      \new Staff {\clef bass
         c'4 c' c' c' \break | % this break doesn't 
         c' c' c' c'}
   >>
   \layout {raggedright = ##t}
}

... both under 2.7.0., we see that the \break in the first example
takes perfectly; the break in second example doesn't take at all (I'm
assuming because of the tuplet in the treble).

Another good test case:

\score {
   \new Staff {
      \clef treble
      \time 4/4
      c'4 c'4
      \repeat unfold SOME_LARGE_NUMBER_HERE {\times 4/5 {d'4 d'4 d'4 d'4 d'4}}
      c'4 c'4
   }
}

Plugging 20 or 30 into the unfold causes squashing. It appears that
the spacing engine won't *ever* break into the middle of the one of
the tuples (so no line break at all, no matter how long the line).

But I'm probably missing something obvious; is there a circumstance
under which tuplet brackets do break??

Trevor.




reply via email to

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