Adding bar lines to ChordNames context: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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 = #'(-1 . 3)
   \consists "Bar_engraver"
   \consists "Bar_engraver"
}
}
Line 13: Line 13:


[[Category:Chords]]
[[Category:Chords]]
[[Category:Chords]]
[[Category:Contexts and engravers]]
[[Category:Specific notation]]
[[Category:Specific notation]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]