[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeat Volta Bar Types
From: |
Thomas Morley |
Subject: |
Re: Repeat Volta Bar Types |
Date: |
Tue, 11 Nov 2014 23:18:55 +0100 |
2014-11-11 22:31 GMT+01:00 Chris Crossen <address@hidden>:
>
> On Nov 11, 2014, at 2:02 PM, Jim Long <address@hidden> 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
RE: Repeat Volta Bar Types, Mark Stephen Mrotek, 2014/11/11