voltaOnThisStaff is documented as follows in the IR:

Normally, volta brackets are put only on the topmost staff. This variable
overrides this behavior, when set to #t or #f.

However, taking a snippet from LSR and trying out various combinations,
always gives the same result: the volta bracket is printed above the top
staff (incl. the ChordNames).

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



-- 
It's easier to be terrified by an enemy you admire.

  -- THUFIR HAWAT, Mentat and Security Commander to House Atreides


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to