Jump to content

Adding bar lines to ChordNames context: Difference between revisions

From LilyPond wiki
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
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
<lilypond version="2.24">
<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]]

Latest revision as of 17:02, 15 December 2025

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

\version "2.24"

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

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