Dear all,

I ran into another problem when updating my scores from 2.12 to 2.18 due to the changes in the vertical alignment calculation. What I have:

* a StaffGroup consisting of two Staffs
* a ChordLine in between

I want the two Staffs spaced evenly at the same distance (done, see below), and I'd like to have the ChordLine vertically centered between the two Staffs. Which I have not been able to do until now...

What I came up with: I'm breaking lines manually and set the distance between the staffs manually. I tried to set staff-affinity to CENTER to get the desired effect, but it does not seem to work. I'm using the following code at the moment:

\override VerticalAxisGroup.staff-affinity = #CENTER
\overrideProperty Score.NonMusicalPaperColumn.line-break-system-details
  #'((alignment-distances . (13.2 13.2)))
\break

Any idea what I am doing wrong or how I could fix it? Or should I use a different approach? I'd be grateful for pointers in the right direction...

Thanks,

Matthias


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to