2008/5/19 Carl D. Sorensen <[EMAIL PROTECTED]>:
>
>
>> -----Original Message-----
>> From: Neil Puttock [mailto:[EMAIL PROTECTED]
>> Hmm... that snippet's still slightly out of date though,
>> since \voltaOnThisStaff is no longer used; it was removed
>> when the Volta_engraver was moved to the Score context.
>>
>
> Which version was that?

2.11.28, fixing Issue 366.

> And how does one specify where the volta bracket goes now?  Some people (like 
>  me) prefer the chord names and fret diagrams over the volta bracket; others 
> prefer them under.  We need to be sure to retain that functionality.

By moving the Volta_engraver to the context(s) where you want it to appear:

% default, chords below volta
\score {
  <<
    \chords {
      c1
      c
    }
    \new Staff {
      \repeat volta 2 { c'1 }
      \alternative { c' }
    }
  >>
}

% chords above volta
\score {
  <<
    \chords {
      c1
      c
    }
    \new Staff \with { \consists Volta_engraver } {
      \repeat volta 2 { c'1 }
      \alternative { c' }
    }
  >>
  \layout {
    \context {
      \Score
      \remove Volta_engraver
    }
  }
}

Regards,
Neil


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

Reply via email to