Adding bar lines to ChordNames context: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
To add bar line indications in the <code>ChordNames</code> context, add the <code>Bar_engraver</code>.
To add bar line indications in the <code>ChordNames</code> context, add the <code>Bar_engraver</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
\new ChordNames \with {
\new ChordNames \with {
   \override BarLine.bar-extent = #'(-2 . 2)
   \override BarLine.bar-extent = #'(-2 . 2)