Minor, but in the interest of clarity:

\score {

  \new Staff { \global \guitar } % Don't need << ... >>

  \layout { }

}


Knute Snortum
(via Gmail)


On Mon, Jun 9, 2014 at 11:38 AM, <[email protected]> wrote:

>
>      Thanks for the hints. I've looked at them and have come up with the
> following which looks a lot like the original. F. Tarrega's transcription
> of
> Beethoven minuet ( start of the trio ). Not sure if its the best solution
> though...
>
> http://imslp.org/wiki/6_Minuets,_WoO_10_%28Beethoven,_Ludwig_van%29
>
> \version "2.18.0"
>
>  voiceone = \relative c' {
>    <<
>    \new Voice { \voiceOne e2. | }
>    \new Voice { \voiceThree \stemDown \override NoteColumn.force-hshift =
> #1.1
>                 gis, 8[ b] gis[ b] gis[ b] | }
>    >>
>  }
>
>  voicetwo = \relative c {
>    < e, e' >4 dis' cis |
>  }
>
>  guitar = << { \voiceone } \\ { \voicetwo } >>
>
> global = {
>   \time 3/4
>   \key e \major
>   \clef "G_8"
> }
>
>  \score {
>     \new Staff  { << \global \guitar >> }
>     \layout { }
>  }
>
>
>           thanx - steve
>
>
> > 2014-06-09 19:41 GMT+02:00 David Kastrup <[email protected]>:
> >> [email protected] writes:
> >>
> >>>          Ooops sorry.....
> >>>
> >>>
> >>> \version "2.18.0"
> >>>
> >>>  voiceone = \relative c' {
> >>>     <<
> >>>     { e2. | }
> >>>       \\
> >>>     { gis,8[ b] gis[ b] gis[ b] | }
> >>>     >>
> >>>  }
> >>>
> >>>  voicetwo = \relative c {
> >>>     < e, e' >4 dis' cis |
> >>>  }
> >>>
> >>>  guitar = << { \voiceone } \\ { \voicetwo } >>
> >>>
> >>> global = {
> >>>   \time 3/4
> >>>   \key e \major
> >>>   \clef "G_8"
> >>> }
> >>>
> >>>
> >>>     \score {
> >>>       \new Staff  { << \global \guitar >> }
> >>>
> >>>       \layout { }
> >>>     }
> >>
> >> Nesting several \\ at different levels does not work.  This is one case
> >> where you are better off using explicit voices anyway since you can then
> >> finetune the \voiceXxx things using for shifting voices apart in the
> >> case of collision.  That gives you
> >>
> >>
> >>
> >> I'm not overly convinced in how it is typeset, but then I don't have a
> >> better suggestion after juggling with different presets.
> >>
> >>
> >>
> >>
> >> --
> >> David Kastrup
> >
> >
> > Here my code as well.
> > Second example gives same output as David's
> > Third example shows strange behaviour of the Dot. IMHO, it should flip
> > back to the NoteHead. There's enough space.
> > A bug?
> >
> > \version "2.18.0"
> >
> > global = {
> >   \time 3/4
> >   \key e \major
> >   \clef "G_8"
> > }
> >
> > \new Staff
> >   <<
> >   \global
> >   \new Voice \relative c' { \voiceOne e2. }
> >   \new Voice
> >     \relative c' {
> >       \voiceFour
> >       \override NoteColumn.force-hshift = #1.1
> >       gis8[ b] gis[ b] gis[ b]
> >     }
> >   \new Voice \relative c' { \voiceTwo < e,, e' >4 dis' cis }
> >   >>
> >
> > \new Staff
> >   <<
> >   \global
> >   \new Voice \relative c' { \voiceOne e2. }
> >   \new Voice \relative c' { \voiceThree  gis8[ b] gis[ b] gis[ b] }
> >   \new Voice \relative c' { \voiceTwo < e,, e' >4 dis' cis }
> >   >>
> >
> > \new Staff
> >   <<
> >   \mark "bug with Dots?"
> >   \global
> >   \new Voice \relative c' { \voiceOne e2. }
> >   \new Voice
> >     \relative c' {
> >       \voiceThree
> >       \once \override NoteColumn.force-hshift = #1.5
> >       gis8[ b] gis[ b] gis[ b]
> >     }
> >   \new Voice \relative c' { \voiceTwo < e,, e' >4 dis' cis }
> >   >>
> >
> > Cheers,
> >   Harm
> >
>
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to