[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeat Volta Bar Types
From: |
Jim Long |
Subject: |
Re: Repeat Volta Bar Types |
Date: |
Tue, 11 Nov 2014 14:57:32 -0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Nov 11, 2014 at 11:50:40PM +0100, Thomas Morley wrote:
> > 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 }
> > }
> > }
> >
> >
> >
>
> (Sorry for the last empty mail, misclicked.)
>
> It's because \bar "||" will not print anything at line-begin.
Yes. And perhaps because \bar ".|:" (intentionally?) does not
respect \Score.startRepeatType?
> Though consider the following:
>
> \version "2.19.13"
>
> \new Staff {
> \bar ".|:" \repeat volta 2 { c'1 c'1 }
> }
>
> #(define-bar-line "||-r" "||" "||" "||")
>
> \score {
> \new Staff {
> \bar "||-r"
> \repeat volta 2 { c'1 c'1 }
> }
>
> \layout {
> \context {
> \Score
> startRepeatType = #"||-r"
> endRepeatType = #"||-r"
> %% not needed in the minimal example
> %doubleRepeatType = #"||-r"
> }
> }
> }
Thanks, Harm. Hopefully that will solve the OP's needs more
reliably than the crude solution I suggested.
Cheers,
Jim
RE: Repeat Volta Bar Types, Mark Stephen Mrotek, 2014/11/11