From: Graham Percival Date: Wed, 9 May 2007 06:25:28 +0000 (-0700) Subject: Added a working Forbid_line_break_engraver example. Fixes \#343. X-Git-Tag: release/2.11.24-1~11^2~2^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7f3a96be7848d409376f28289bee277611d1d204;p=lilypond.git Added a working Forbid_line_break_engraver example. Fixes \#343. --- diff --git a/Documentation/user/spacing.itely b/Documentation/user/spacing.itely index bf6de01226..dddc5262f0 100644 --- a/Documentation/user/spacing.itely +++ b/Documentation/user/spacing.itely @@ -625,6 +625,22 @@ c4 c2 c4 ~ \break % as does this break c4 c2 c4 @end lilypond +This can be avoided by removing the @code{Forbid_line_break_engraver} +and adding the line breaks in another voice: + +@lilypond[quote,ragged-right,verbatim] +\new Staff << + \new Voice \with { + \remove Forbid_line_break_engraver + } { + c'4 c'2 c'2 c'2 c'4 + } + \new Voice { + s1 \break s1 + } +>> +@end lilypond + @node Page breaking @subsection Page breaking