Re: Alternative subtleties

2016-11-28 Thread Jacques Menu Muzhic
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  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
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: Alternative subtleties

2016-11-28 Thread Malte Meyn



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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user