Hello all,

I am still working on a type of lead sheet that only shows chord symbols.
For the bars to align well, I need to set
SpacingSpanner.strict-note-spacing to true (set it to false to see what I
mean), but that has the unwanted effect of the last chord symbol in a bar
having less space than the others. So, of course with strict-note-spacing
the distance from chord to chord is the same, regardless of there being a
bar line in-between or not. But I need the distance from a chord to a bar
line to be the same as from a chord to the next chord.
Is there any way to get that result?


\version "2.19.59"

<<
  \new ChordNames \chordmode {
    \repeat unfold 3 {
      a4 a a a
    } \break
    \repeat unfold 6 {
      a4 a a a
    }
  }
>>

\layout {
  \context {
    \ChordNames
    \consists "Bar_engraver"
    \override BarLine.bar-extent = #'(-2 . 2)
    \override ChordName.Y-offset = #-0.9
  }

  \context {
    \Score
    \remove "Bar_number_engraver"
    \override SpacingSpanner.strict-note-spacing = ##t
  }
}

\paper {
  indent = 0
}



Thanks,
Peter

--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to