Jump to content

Volta below chords: Difference between revisions

From LilyPond wiki
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:
By adding the <code>Volta_engraver</code> to the relevant staff, volte can be put under chords.
By adding the <code>Volta_engraver</code> to the relevant staff, volte can be put under chords.


<lilypond version="2.24.0">
<lilypond version="2.24">
\score {
\score {
   <<
   <<

Revision as of 18:51, 16 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"
    }
  }
}