]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/break.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / break.ly
index 1a0e1b63837fdb4dfa5bc4a6bde98eaf83ad06d8..afce0368a2b2eb9c48286345185592caade7c2b0 100644 (file)
@@ -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 
 }