Jump to content

Adding bar lines to ChordNames context: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Line 15: Line 15:
[[Category:Chords]]
[[Category:Chords]]
[[Category:Specific notation]]
[[Category:Specific notation]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Revision as of 23:12, 21 November 2025

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 
}