]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/chord-changes.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / chord-changes.ly
index 2f0a6f8edf06907b10222d8c0a60db7b41ead915..163ea98ee9f5ca600ea323d82babe258d429a27b 100644 (file)
@@ -1,27 +1,28 @@
-\version "1.9.0"
+\version "2.12.0"
 
 \header{
-texidoc="Property chordChanges: display chord names only 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 c' \scheme
-  >
-  \paper{
-    linewidth = 40 * \staffspace
-  }
-}
+<<
+  \context ChordNames <<
+    \scheme
+    \set chordChanges = ##t
+  >>
+  \context Staff \transpose c c' \scheme
+>>
+