]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/measure-grouping.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / measure-grouping.ly
index 70c1baf8fa48ce84b01fbf1e58fda3de6979b39a..5fa0b8723bc702aa86089d0fd95764d50068927b 100644 (file)
@@ -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.1"
+\version "2.16.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' {
+  \time 2/4 
+  c8 a'4 a8~
+  \time #'(3 2) 5/8 
+  a8 bes4 r8 bes8->
+  \time 2/4
+  c,8 g'4 g8~
+  \time #'(3 2) 5/8 
+  g8 a4 g a4.->
+}
+