bug-lilypond
[Top][All Lists]
Advanced

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

Re: Connected arpeggio between voices [Documentation]


From: Gilles
Subject: Re: Connected arpeggio between voices [Documentation]
Date: Fri, 2 Dec 2005 10:32:06 +0100
User-agent: Mutt/1.5.11

> The correct syntax is
> \context Staff = Guitar \with{...} {...}
> 
>   /Mats
> 

Thanks!
Maybe an example of this syntax deserves to be included in chapter "9.1.3 
Modifying
context plug-ins" where only the \new construct is explained.

Gilles

> 
> >...
> >
> >
> >But how can I achieve the same result using \context instead of \new ?
> >[I need the capacity to refer to a *named* context (because I set things
> >differently in different files).]
> >I tried the following (but that doesn't work, although it seems to be a
> >reasonable trial):
> >
> >%-----
> >upper = \relative c' {
> > e'1\arpeggio |
> >}
> >
> >lower = \relative c' {
> > e1\arpeggio |
> >}
> >
> >guitarStaffTwo = \context Staff \with { \consists Span_arpeggio_engraver } 
> >= "Guitar" {
> > \set Staff.connectArpeggios = ##t
> > <<
> >   \new Voice { \voiceOne \upper }
> >   \new Voice { \voiceTwo \lower }
> > >>
> >}
> >
> >\score {
> > \guitarStaffTwo
> > \layout {}
> >}
> >%-----
> >
> >




reply via email to

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