Jump to content

Volta below chords: Difference between revisions

From LilyPond wiki
mNo edit summary
mNo edit summary
 
Line 19: Line 19:
</lilypond>
</lilypond>


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

Latest revision as of 12:46, 9 December 2025

By adding the Volta_engraver to the relevant staff, volte can be put below chords.

\version "2.24"

\score {
  <<
    \chords { c1 c1 }
    \new Staff \with { \consists "Volta_engraver" }
    {
      \repeat volta 2 { c'1 \alternative { c' } }
    }
  >>
  \layout {
    \context {
      \Score
      \remove "Volta_engraver"
    }
  }
}