lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative subtleties


From: Jacques Menu Muzhic
Subject: Re: Alternative subtleties
Date: Mon, 28 Nov 2016 10:22:18 +0100

Hello Malte,

Thanks for the clarification, I had focused more on syntax that on semantics.

A nice day!

JM

> Le 28 nov. 2016 à 09:48, Malte Meyn <address@hidden> a écrit :
> 
> 
> 
> Am 28.11.2016 um 08:44 schrieb Menu Jacques:
>> Hello folks,
>> 
>> I’ve always used \alternative with a list of bracketed elements, and just 
>> found that example in the Notation Reference:
>> […]
>> % to be compared with this:
>> {
>>  \accidentalStyle modern
>>  \time 2/4
>>  \repeat volta 2 {
>>    c'2
>>  }
>>  \alternative {
>>    {
>>      cis'
>>      \forget c'
>>    }
>>  }
>> }
>> 
>> I’m afraid I didn’t read the doc well enough…
>> 
> What is your question? Maybe you want the following?
> 
>  \alternative {
>    {
>      cis'
>    }
>    {
>      \forget c'
>    }
>  }
> 
> \alternative doesn’t need two bracketed elements but two music expressions. 
> “cis'” is one, “\forget c'” is one but if you need to group several music 
> events this is done by << >> or { }: “{ cis' \forget c' }” is also only one 
> music expression.
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]