Jump to content

Adding bar lines to ChordNames context

From LilyPond wiki
Revision as of 18:46, 16 November 2025 by Jean Abou Samra (talk | contribs) (Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series)

To add bar line indications in the ChordNames context, add the Bar_engraver.

\version "2.24"

\new ChordNames \with {
  \override BarLine.bar-extent = #'(-2 . 2)
  \consists "Bar_engraver"
}

\chordmode {
  f1:maj7 f:7 bes:7 
}