Hello,
I have a score that has system breaks (defined by \break) at specific
random intervals. Some systems have two bars, some have eight, some have
twelve, etc.
I have ragged-right set to true and I am looking to horizontally center
every system on its own page, regardless of length. I have tried the
methods here
<https://music.stackexchange.com/questions/42332/horizontal-centering-of-staffs-in-lilypond?noredirect=1&lq=1>
and here
<https://music.stackexchange.com/questions/116623/how-to-horizontally-center-systems-on-a-page>
but I have still come up short.
I have attached the drill score to this email for reference. All of the
part definitions refer to an \include file. If there's any other
information that would be useful I'll be glad to provide it.
--
-josh
\score {
<<
\new StaffGroup <<
\AMillionDreamsSoloMellophoneOneScore
\AMillionDreamsSoloMellophoneTwoScore
>>
\new StaffGroup <<
\AMillionDreamsFluteOnePart
\AMillionDreamsFluteTwoPart
\AMillionDreamsClarinetOnePart
\AMillionDreamsClarinetTwoPart
\AMillionDreamsBassClarinetPart
\AMillionDreamsAltoSaxOnePart
\AMillionDreamsAltoSaxTwoPart
\AMillionDreamsTenorSaxPart
>>
\new StaffGroup <<
\AMillionDreamsTrumpetOnePart
\AMillionDreamsTrumpetTwoPart
\AMillionDreamsMellophonePart
\AMillionDreamsTromboneOnePart
\AMillionDreamsTromboneTwoPart
\AMillionDreamsBaritonePart
\AMillionDreamsTubaPart
>>
\new StaffGroup <<
\AMillionDreamsPianoPart
\AMillionDreamsVibraphoneOnePart
\AMillionDreamsVibraphoneTwoPart
\AMillionDreamsMarimbaOnePart
\AMillionDreamsMarimbaTwoPart
\AMillionDreamsSnarePart
\AMillionDreamsTenorsPart
\AMillionDreamsBassesPart
>>
\new Dynamics {
\startMeasureCount
s1*55
\stopMeasureCount
}
<<
\amilliondreamsdrillscorepart
>>
>>
\layout {
indent = #12
short-indent = .4\cm
ragged-right = ##t
\set Score.markFormatter = #format-mark-box-letters
#(layout-set-staff-size 7)
\context {
\Score
\omit BarNumber
}
\context {
\Dynamics
\consists #Measure_counter_engraver
\override MeasureCounter.direction = #DOWN
\override MeasureCounter.font-encoding = #'latin1
\override MeasureCounter.font-shape = #'italic
\override MeasureCounter.font-size = #5
}}}