lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

voltaOnThisStaff not working as expected


From: Eyolf Østrem
Subject: voltaOnThisStaff not working as expected
Date: Tue, 27 Nov 2007 03:57:04 +0100
User-agent: Mutt/1.5.17-muttng (2007-11-01)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]