-\header { texidoc = "The centering of multi-measure rests is
-independent on prefatory matter in other staves."
-
- }
-
-
-\version "2.12.0"
-\layout { ragged-right = ##t }
-
-
-<< \new Staff { R1 }
- \new Staff { f'1 \clef bass }
-
- >>
-
-
-
+\version "2.13.34"
+
+\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
+ }
+>>
\version "2.12.0"
-\header{
+\header {
texidoc="
-Multi-measure rests do not collide with barlines and clefs. They
+Multi-measure rests do not collide with bar lines and clefs. They
are not expanded when you set @code{Score.skipBars}. Although the
-multi-measure-rest is a Spanner, minimum distances are set to keep it
-colliding from barlines.
-
-Rests over measures during longer than 2 wholes use breve rests. When
-more than 10 or more measures (tunable through @code{expand-limit})
-are used then a different symbol is used.
+multi-measure-rest is a Spanner, minimum distances are set to stop it
+colliding with bar lines.
+Rests over measures lasting longer than 2 wholes use breve rests. When
+more than 10 measures (tunable through @code{expand-limit}) are used
+then a different symbol is used.
"
}
\Score
skipBars = ##t
}
- ragged-right = ##t
}
-
{
- \time 3/4 \key cis \major
+ \time 3/4
+ \key cis \major
R2.*15
R2.*7
R2.*9
R2.*11
-
+ \clef bass
\time 8/4 R1*2
}
-
-
(expand-limit . 10)
(hair-thickness . 2.0)
(padding . 1)
- (spacing-pair . (break-alignment . staff-bar))
+ (spacing-pair . (break-alignment . break-alignment))
(springs-and-rods . ,ly:multi-measure-rest::set-spacing-rods)
(staff-position . 0)
(stencil . ,ly:multi-measure-rest::print)