X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmeasure-grouping.ly;h=3ddb019925f71cf619e0c9f6c43cd065b3e956f5;hb=ca5ffa906698b69799dffc2461de29762847a11c;hp=9d8b251f48b5bb0b915f26672f0b604adaa45a93;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/measure-grouping.ly b/input/regression/measure-grouping.ly index 9d8b251f48..3ddb019925 100644 --- a/input/regression/measure-grouping.ly +++ b/input/regression/measure-grouping.ly @@ -1,34 +1,33 @@ -#(ly:set-option 'old-relative) + \header { - texidoc = "The Measure_grouping_engraver adds triangles and -brackets above beats when you set beatGrouping. This shows a fragment -of Steve Martland's Dance Works. " + texidoc = "The @code{Measure_grouping_engraver} adds triangles and +brackets above beats when the beats of a time signature are grouped. " } -\version "1.9.0" +\version "2.12.0" +\layout { + ragged-right = ##t +} %% TODO: should have 2/4 + 5/8 time sig style. -\score { \notes -\context Staff - \relative c' { - #(set-time-signature 2 4) - c8 a'4 a8-~ - #(set-time-signature 5 8 '(3 2)) - a8 bes4 r8 bes8-> - \time 2/4 - c,8 g'4 g8-~ - #(set-time-signature 5 8 '(3 2)) - g8 a4 g a-> - } - \paper { - raggedright = ##t - \translator { \StaffContext - \consists "Measure_grouping_engraver" - } - } - } + +\context Staff \with { + \consists "Measure_grouping_engraver" + } + +\relative c' { + #(set-time-signature 2 4) + c8 a'4 a8~ + #(set-time-signature 5 8 '(3 2)) + a8 bes4 r8 bes8-> + \time 2/4 + c,8 g'4 g8~ + #(set-time-signature 5 8 '(3 2)) + g8 a4 g a4.-> +} +