]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/break.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / break.ly
index e00197442b358a8df7703e8ee7b552be261899a1..0b7c595339d950f2e41e500b64c6882e7c56c94f 100644 (file)
@@ -1,19 +1,19 @@
-\version "1.5.68"
+
+\version "2.16.0"
 
 \header{
-texidoc="
+  texidoc="
 Breaks can be encouraged and discouraged using @code{\\break} and
-@code{\\noBreak}.  They are abbrevs for @code{\\penalty} commands.
-"
+@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 
 }