Jump to content

Volta below chords: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
Line 28: Line 28:
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Chords]]
[[Category:Chords]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Revision as of 23:26, 21 November 2025

By adding the Volta_engraver to the relevant staff, volte can be put under 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"
    }
  }
}