]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/break.ly
* lily/my-lily-lexer.cc (start_main_input): define input-file-name
[lilypond.git] / input / regression / break.ly
index 32a48357b16faf9a47bf297e797f57a22b5107d0..a166c8aa0eabc9f2807ad2a633c43fa2cccee85b 100644 (file)
@@ -1,19 +1,20 @@
-\version "1.3.146"
+#(ly:set-option 'old-relative)
+\version "1.9.1"
 
 \header{
 texidoc="
-Breaks can be encouraged and discouraged using @code{\break} and
-@code{\noBreak}.  They are abbrevs for @code{\penalty} commands.
-"
+Breaks can be encouraged and discouraged using @code{\\break} and
+@code{\\noBreak}."
 }
 
 
 \score{
-       \notes\context Voice{
+       \notes\relative c'' \context Voice{
        \emptyText
-       c1 c1^"no break after 2nd note"  \noBreak c1 c1
-         
-         c1^"break after this" \break c1 c1 
+       c1 \noBreak c1 \noBreak \mark "nobreak" c1 \noBreak
+       c1 \break \mark "break" c1 \break \mark "break" c1 
        }
-       \paper { linewidth = 4.0\cm}
+       \paper {
+           indent = 0.0
+           linewidth = 4.0\cm}
 }