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, [email protected], 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
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user