]> git.donarmstrong.com Git - lilypond.git/blob - input/test/volta-chord-names.ly
acaeac964385abda683109481ba67dfd2078e7ff
[lilypond.git] / input / test / volta-chord-names.ly
1 \header {
2
3     texidoc = "Volta brackets can be placed over chord names. This
4 requires adding an engraver to @code{ChordNames}, and setting
5 @code{voltaOnThisStaff} correctly."
6
7 }
8
9 \version "2.2.3"
10 \score {
11     <<
12   \new ChordNames \with {
13       voltaOnThisStaff = ##t
14   } \chords {
15      c1 c
16   }
17   \new Staff \with {
18       voltaOnThisStaff = ##f
19   } \notes {
20    \repeat volta 2 { c'1 } \alternative { c' }
21   }
22 >>
23 }