Hi Lucas,
> Thanks for the suggestion, Kieren! However, the chord is still "anchored" to
> the left.
Oh, sorry! The image you sent (from the Real Book or sim.) shows the chord
floating left:
If you want it truly centered, I’d personally hack a whole rest (or even
MultiMeasureRest), which is guaranteed to centre both horizontally and
vertically:
%%% SNIPPET BEGINS
\version "2.24.4"
\header {
title = "12 Bar Blues"
tagline = \markup \magnify #0.75 "Lucas Pinke. 2025. CC 4.0 BY-SA-NC."
} % end header
\paper {
markup-system-spacing.padding = #8
}
\layout {
indent = 0
\context {
\Score
\omit TimeSignature
\omit Clef
\omit BarNumber
}
}
\layout {
\context {
\Score
\override SystemStartBar.collapse-height = 1
}
}
\score {
\new StaffGroup <<
\new Staff <<
\hide Staff.MultiMeasureRest
\override Staff.MultiMeasureRestText.outside-staff-priority = ##f
\override Staff.MultiMeasureRestText.staff-padding = ##f
\override Staff.MultiMeasureRestText.Y-offset = #-1
\repeat volta 2 {
\repeat percent 4 { R1^\markup "C" } \break
\repeat percent 2 { R1^\markup "F" }
\repeat percent 2 { R1^\markup "C" } \break
R1^\markup "G"
R1^\markup "F"
R1^\markup "C"
\alternative {
\volta 1 { R1^\markup "C" }
\volta 2 { R1^\markup "G" \break }
} % end alternative
} % end ritornelo
>>
>>
\layout {
\context {
\Staff
\override MultiMeasureRestText.font-size = #2.75
\override MultiMeasureRestText.font-family = #'sans
}
}
} % end score
%%% SNIPPET ENDS
There would be ways to take this “hack” a lot further, so that you could add a
real \chordmode block and it would Do The Right Thing™. This is just a hint at
one possible way of attacking the problem!
Hope that helps,
Kieren.
__________________________________________________
My work day may look different than your work day. Please do not feel obligated
to read or respond to this email outside of your normal working hours.