]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-multi-staff-center.ly
Doc-es: various updates.
[lilypond.git] / input / regression / multi-measure-rest-multi-staff-center.ly
index 6c359af9f354b6df0d6cb0f143bb30068a914ef8..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.6.0"
-
-
-<< \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
+  }
+>>