%% Generated by lilypond-book.py
%% Options: [alt=[image of music],printfilename,indent=0\mm,texidoc,line-width=160\mm]
\include "lilypond-book-preamble.ly"







% ****************************************************************
% Start cut-&-pastable-section 
% ****************************************************************

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 160\mm
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "volta-chord-names.ly"
\header {
    texidoc = "Volta brackets can be placed over chord names. Just set
the @code{voltaOnThisStaff} property to true for the @code{ChordNames} context and to false for the topmost ordinary @code{Staff} context."
}


\score { <<
  \new ChordNames \with {
    voltaOnThisStaff = ##t
  } \chordmode {
    c1 c
  }
  \new Staff \with {
    voltaOnThisStaff = ##f
  }
  {
    \repeat volta 2 { c'1 } \alternative { c' }
  }
>> }



% ****************************************************************
% end ly snippet
% ****************************************************************
