2014-11-11 22:31 GMT+01:00 Chris Crossen <elaparic...@gmail.com>: > > On Nov 11, 2014, at 2:02 PM, Jim Long <lilyp...@umpquanet.com> wrote: > >> On Tue, Nov 11, 2014 at 01:39:23PM -0700, Chris Crossen wrote: >>> Is it possible to get different repeat bar images when using \repeat volta ? >> >> One way, although probably not the best way, is to simply >> specify the bar type with the \bar directive: >> >> \version "2.19.3" >> \new Staff { >> c'1 >> \bar "||" >> \repeat volta 2 { c'1 c'1 } >> \bar "||" >> } >> >> I don't know how to make this work in all cases, however. Remove >> the first bar, for example, and this method breaks. > > That works for me. Thank you very much.
And we have context-properties for this: \version "2.19.3" \layout { \context { \Score startRepeatType = #"||" endRepeatType = #"||" %% not needed in the minimal example %doubleRepeatType = #"||" } } \new Staff { c'1 \repeat volta 2 { c'1 c'1 } } HTH, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user