X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fchord-changes.ly;h=163ea98ee9f5ca600ea323d82babe258d429a27b;hb=d679bf35e2361e126d72ba83c69a1e7c844c2424;hp=89701abd41859bd9e32481b3cbb6b0e030a900ae;hpb=c81b75a62bd21b85642b76ce364b5016087bce24;p=lilypond.git diff --git a/input/regression/chord-changes.ly b/input/regression/chord-changes.ly index 89701abd41..163ea98ee9 100644 --- a/input/regression/chord-changes.ly +++ b/input/regression/chord-changes.ly @@ -1,27 +1,28 @@ -\version "1.7.5" +\version "2.12.0" \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 c' \scheme - > - \paper{ - linewidth = 40 * \staffspace - } -} +<< + \context ChordNames << + \scheme + \set chordChanges = ##t + >> + \context Staff \transpose c c' \scheme +>> +