Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(971)

Unified Diff: input/regression/bar-number-staff-group-context.ly

Issue 331650043: Issue 2199: align outside-staff grobs vertically in staff groups (Closed)
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | input/regression/metronome-marking-staff-group-context.ly » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: input/regression/bar-number-staff-group-context.ly
diff --git a/input/regression/bar-number-staff-group-context.ly b/input/regression/bar-number-staff-group-context.ly
new file mode 100644
index 0000000000000000000000000000000000000000..ea91beeaca3afcaab1d2ff37930b97fe30bc8dde
--- /dev/null
+++ b/input/regression/bar-number-staff-group-context.ly
@@ -0,0 +1,44 @@
+\version "2.21.0"
+
+\header {
+ texidoc="Bar_number_engraver may be moved to staff-group contexts.
+Bar numbers should appear in black above the second staff from the
+top. The same numbers should appear in red above the third staff from
+the top."
+}
+
+\layout {
+ indent = 0
+ ragged-right = ##t
+ \context {
+ \Score
+ \remove "Bar_number_engraver"
+ \override BarNumber.break-visibility = #all-visible
+ }
+}
+
+<<
+ \new Staff {
+ R1*2 \break R1*2
+ }
+ \new ChoirStaff \with {
+ \consists "Bar_number_engraver"
+ \consists "Staff_collecting_engraver"
+ } <<
+ \new Staff {
+ s1*4
+ }
+ \new PianoStaff \with {
+ \consists "Bar_number_engraver"
+ \consists "Staff_collecting_engraver"
+ \override BarNumber.color = #red
+ } <<
+ \new Staff {
+ s1*4
+ }
+ \new Staff {
+ s1*4
+ }
+ >>
+ >>
+>>
« no previous file with comments | « no previous file | input/regression/metronome-marking-staff-group-context.ly » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b