lilypond-user
[Top][All Lists]
Advanced

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

Re: Alternative subtleties


From: Malte Meyn
Subject: Re: Alternative subtleties
Date: Mon, 28 Nov 2016 09:48:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0



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.



reply via email to

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