> > > Can anybody clue me in on which screws I have to turn in order to get the > desired result: where the chord names are only shifted if the notes below > them require it. If there would be a collision between section label and > chord name, then the section label should go above it. I haven’t found a > solution yet. > (I know that I could just extra-offset the ChordNames for each line in > question, but if there is a way where I’d just have to override a couple > properties once, I’d much prefer that.) >
Dear Peter, I am not sure if anyone addressed this for you, but given nobody has yet replied, here is my attempt at it— Given your short code (I couldn’t open and see the screenshots, sorry!), it appears one of the parameters that could affect the placement of ChordNames in relation to the sectionLabel is the outside-staff-horizontal-padding parameter. So if you put the following line in the context setting, just beneath the \override SectionLabel.outside-staff-priority = 1550: \override SectionLabel.outside-staff-horizontal-padding = 10 (You might adjust the number to a lower value; I initially tried 4 and it worked.) This seems to accomplish what you are looking for. However, when the pitch goes higher, say c’’’1 instead of c’’1, the sectionLabel goes quite high. At which point you may put: \tweak X-offset #-1.5 Just before the third \sectionLabel, which brings the sectionLabel vertically closer to the treble clef, though the label is horizontally shifted to the left just a bit. This might be done at the final process of proofreading, though. I hope this helps! Yoshi
