]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/chord-changes.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / regression / chord-changes.ly
index 274736c2d75d6b51fc3d26a773caa0f8e9bbadf6..35c5766443f973eebcb4906b20863e43045e6342 100644 (file)
@@ -1,26 +1,28 @@
+\version "2.11.51"
 
 \header{
-texidoc="property chordChanges: only display chord names when
+  texidoc="Property chordChanges: display chord names only when
 there's a change in the chords scheme, but always display the
 chord name after a line break.
-";
+"
 }
 
-scheme = \chords {
+\layout{ ragged-right = ##t }
+
+
+scheme = \chordmode {
   c1:m \break c:m c:m c:m d
   c1:m \break c:m c:m c:m d
 }
 
 settings = {
-  \property ChordNames.chordChanges = ##t
 }
 
-\score {
-  \notes <
-    \context ChordNames < \scheme \settings >
-    \context Staff \transpose c'' \scheme
-  >
-  \paper{
-    linewidth = 40 * \staffspace;
-  }
-}
+<<
+  \context ChordNames <<
+    \scheme
+    \set chordChanges = ##t
+  >>
+  \context Staff \transpose c c' \scheme
+>>
+