From 7f3a96be7848d409376f28289bee277611d1d204 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Tue, 8 May 2007 23:25:28 -0700 Subject: [PATCH] Added a working Forbid_line_break_engraver example. Fixes \#343. --- Documentation/user/spacing.itely | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- 2.39.5