4

By default, Lilypond seems to use left alignment for chord names, like this:

left-aligned chord names

Is there a way to center the chord names above the notes to which they refer? The "/G" being so far to the right of the "C" throws me off a bit.

Thanks to anyone who can help!

2
  • 1
    I think this is pretty standard notation: the G is not on top of the next note, and the "C/G" text is tight enough that it still constitutes a single item. I wouldn't change it if I were you.
    – user18490
    Oct 15, 2016 at 23:43
  • 1
    The chord itself is over the notes. The slash part should be after, as it just tells which inversion it is.
    – Tim
    Oct 16, 2016 at 6:43

1 Answer 1

3
<<
  \new ChordNames \with {
    \override ChordName.X-offset = #ly:self-alignment-interface::aligned-on-x-parent
    \override ChordName.self-alignment-X = #CENTER }
  \chordmode { cis:7/ges q q q }
  { c'4 c' c' c' }
>>

But I'm skeptical that the results are all that convincing.

2
  • I agree that this is probably not convincing, or standard. As far as I'm aware, most music is rendered with chords left-aligned to the relevant notes. Nevertheless, nice that this can be done in Lilypond.
    – user18490
    Oct 15, 2016 at 23:42
  • Thanks! Upon reflection, I think you're right about this. Thanks, user34030 and Evert!
    – ale.sisti
    Oct 16, 2016 at 6:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.