X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbreak.ly;h=afce0368a2b2eb9c48286345185592caade7c2b0;hb=e76c6cb9fae87c362133987bcf5129eef0cb1123;hp=1a0e1b63837fdb4dfa5bc4a6bde98eaf83ad06d8;hpb=8b88bf025331c789167734067001a3d79501b433;p=lilypond.git diff --git a/input/regression/break.ly b/input/regression/break.ly index 1a0e1b6383..afce0368a2 100644 --- a/input/regression/break.ly +++ b/input/regression/break.ly @@ -1,18 +1,19 @@ +\version "2.12.0" + \header{ -texidoc=" -Breaks can be encouraged and discouraged using @code{\break} and -@code{\noBreak}. They are abbrevs for @code{\penalty} commands. -"; + texidoc=" +Breaks can be encouraged and discouraged using @code{\\break} and +@code{\\noBreak}." } +\layout { + indent = 0.0 + line-width = 4.0\cm +} -\score{ - \notes\context Voice{ - \emptyText - c1 c1^"no break after 2nd note" \noBreak c1 c1 - - c1^"break after this" \break c1 c1 - } - \paper { linewidth = 4.0\cm;} +\relative c'' \context Voice { + \textLengthOff + c1 \noBreak c1 \noBreak \mark "nobreak" c1 \noBreak + c1 \break \mark "break" c1 \break \mark "break" c1 }