On Sun, Mar 11, 2012 at 7:51 AM, Peter O'Doherty <m...@peterodoherty.net>wrote:

> On 03/11/2012 11:42 AM, m...@apollinemike.com wrote:
>
>> On Mar 11, 2012, at 11:40 AM, Peter O'Doherty wrote:
>>
>>  Hi,
>>> Another question concerning tuplets:
>>>
>>> \remove "Forbid_line_break_engraver"
>>> \override Beam #'breakable = ##t
>>>
>>>  Try adding:
>>
>> \override TupletBracket #'breakable = ##t
>>
>> Cheers,
>> MS
>>
>>
>>  Sorry, that doesn't work. Still getting
>
> warning: forced break was overridden by some other event, should you be
> using bar checks?
>


Hi Peter,

I think somewhere earlier in the thread it was mentioned that
Forbid_line_break_engraver lives in the *Voice* context (and not in the
Staff or Score contexts).

So this does this what you want:


\version "2.15.34"

upper =  {
 \clef "treble"
 \time 4/8
 c'8 c'8 c'8 c'8
 c'8 c'8 c'8 c'8
 c'8 c'8 c'8 c'8
 c'8 c'8 c'8 c'8
}

lower =  {
 \clef "bass"
 \times 4/5 { c8[ c8 c8 c8 c8] }
 \times 5/6 { c8[ c8 c8 c8 c8 \bar "" \break c8] }
 \times 3/4 { c8[ c8 c8 c8] }
 \times 4/5 { c8 c8 c8 c8 c8 }
}

\score {
 \new PianoStaff <<
   \new Staff = "upper" \upper
   \new Staff = "upper" \lower
>>
 \layout {
 \context {
      \Score
       \override Beam #'breakable = ##t
    }
 \context {
    \Voice
    \remove "Forbid_line_break_engraver"
    }
}
}



HTH,

Trevor.


-- 
Trevor Bača
trevorb...@gmail.com
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to