Harm,

MUCH thanks for that snippet, now saved to my snippet folder, that so
clearly explains what's going on with the << \\ >> polyphonic context
syntax. I get it now.

Guy

Guy Stalnaker
jimmyg...@gmail.com

On Tue, Jan 30, 2018 at 3:56 AM, Thomas Morley <thomasmorle...@gmail.com>
wrote:

> 2018-01-30 9:01 GMT+01:00 mosea chen <mosea.c...@gmail.com>:
> >
> > Hi,
> >     I found it difficult to engrave the staff as the fingure:
> >
> >
> > the "slur" just does not work.
> > The source is as follows:
> >
> > \version "2.19.80"
> > {
> >     \clef bass
> >     \time 3/4
> >
> >     fis-2 ( e-1 d-2 |
> >     <<
> >         { r4 ) e4 a8 ( g8  | }
> >         \\
> >         { a,2. |  }
> >     >>
> >     fis4 ) r4 r4
> > }
>
>
> << ... \\ ... >>
> is equivalent to
> <<
>   \context Voice = "1" { \voiceOne ... }
>   \context Voice = "2" { \voiceTwo ... }
> >>
>
> The exercise is to distribute stuff to Voices properly,
> starting/ending Slurs in the same Voice.
>
> One possibility
>
> \version "2.19.80"
>
> \context Voice {
>   \clef bass
>   \time 3/4
>
>   \context Voice = "2" { fis4-2( e-1 d-2 }
>   <<
>     { r4 e4 a8( g8 \oneVoice }
>     \\
>     { a,2.) }
>   >>
>   \context Voice = "1" fis4)
>   \context Voice
>   r4
>   r4
> }
>
> Cheers,
>   Harm
>
> _______________________________________________
> 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

Reply via email to