lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond lobbying?


From: Reinhold Kainhofer
Subject: Re: Lilypond lobbying?
Date: Fri, 26 Aug 2011 13:18:57 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.7.0; i686; ; )

Am Friday, 26. August 2011, 12:48:28 schrieb Joseph Wakeling:
> On 08/26/2011 10:28 AM, David Kastrup wrote:
> > It's pretty much along the lines of the given verbal description.  You
> > could also do something like
> > 
> > << c1 { s4\< s2\! s4 } >>
> 
> Is this a new notation for 2.14, or is it missing the \\ ?

Neither. It simply means that the two music expressions ("c1" and the "<< ... 
>>") are to be interpreted in parallel in the current context.

> I ask because when compiling this under 2.12 I get two staves (see
> attached).

The cause here is once again our beloved implicit context creation... In the 
above case, no voice or staff has yet been created, the << does also not 
create one, so when lilypond sees the c1, it creates a voice+staff. When it 
then processes the s4\<, it does the same, because it is apparently not in the 
same voice (which was only created for the c1.

Wrap \new Voice aroud the <<....>> to explicitly create the voice or staff and 
it will work:

\new Voice { << c1 { s4\< s2\! s4 } >> }

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org



reply via email to

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