]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-multi-staff-center.ly
Doc: CSS: Add a maximum width for the sidebar in the manuals
[lilypond.git] / input / regression / multi-measure-rest-multi-staff-center.ly
index fdb42c482f5b40f3a6f3607102a01ad677fa9d07..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.4.0"
-
-\score {
-    << \new Staff  { R1 } 
-     \new Staff { f'1  \clef bass } 
-
-    >>
-
-\layout { 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
+  }
+>>