On Tue, Nov 11, 2014 at 11:18:55PM +0100, Thomas Morley wrote:
> 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 ?

> And we have context-properties for this:
> 
> \version "2.19.3"
> 
> \layout {
>   \context {
>     \Score
>     startRepeatType = #"||"
>     endRepeatType = #"||"
>     %% not needed in the minimal example
>     %doubleRepeatType = #"||"
>   }
> }


Thanks, Harm.  But that still doesn't work in the case where the
volta is at the beginning of the piece, and the engraver wishes
an explicit bar line.

Lily by default doesn't engrave an open volta at the start of a
piece, or at a double-barline.  I don't know how many others do,
but I, for one, often override this.

Both of these cases fail:

\version "2.19.3"

\layout {
  \context {
    \Score
    startRepeatType = #"||"
    endRepeatType = #"||"
    %% not needed in the minimal example
    %doubleRepeatType = #"||"
  }
}

\score {
  \new Staff {
%    c'1
    \bar "||"
    \repeat volta 2 { c'1 c'1 }
  }
}

\score {
  \new Staff {
%    c'1
    \bar ".|:"
    \repeat volta 2 { c'1 c'1 }
  }
}




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

Reply via email to