]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-multi-staff-center.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / multi-measure-rest-multi-staff-center.ly
index 98c4ae042ec7870eba60e05b11cc233ed482ced9..b063413003ada8a97ded7e6ac69c240f917ce690 100644 (file)
@@ -1,14 +1,19 @@
-\header { texidoc = "The centering of multi-measure rests is
-independent on prefatory matter in other staves."
+\version "2.17.6"
 
-         }
-\version "2.3.16"
-
-\score {
-    << \new Staff  { R1 } 
-     \new Staff { f'1  \clef bass } 
-
-    >>
-
-\paper { raggedright = ##t } 
+\header {
+  texidoc = "Though the default spacing for multi-measure rests
+is affected by prefatory matter in other staves, centering can be
+restored by overriding @code{spacing-pair}."
 }
+
+<<
+  \new Staff  {
+    \once \override MultiMeasureRest.spacing-pair =
+    #'(break-alignment . staff-bar)
+    R1
+  }
+  \new Staff {
+    f'1
+    \clef bass
+  }
+>>