]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/bar-always.ly
* Documentation/user/examples.itely (Module): 2.4.0 -> 2.6.0
[lilypond.git] / input / test / bar-always.ly
index 83c0842e6dafdec179c8da08749434fb2a639168..dd8050814d3432767fc97d3cf2a5c086dcb20945 100644 (file)
@@ -1,19 +1,19 @@
-#(ly:set-option 'old-relative)
-\version "1.9.0"
+
+\version "2.6.0"
 \header {
 
     texidoc = "@cindex Bars Always
 
-By setting @code{barAlways} and @code{defaultBarType,} you can automatically insert barlines everywhere."
+By setting @code{barAlways} and @code{defaultBarType}, barlines may be inserted automatically everywhere."
 
 }
 
 
 \score {
-       \notes \relative c''{
-               \property Score.barAlways = ##t
-               \property Score.defaultBarType = ":|:"
+        \relative c''{
+               \set Score.barAlways = ##t
+               \set Score.defaultBarType = ":|:"
                c4 c4 c4 c4 }
-       \paper{raggedright = ##t}
+       \layout{raggedright = ##t}
 }