Mats Bengtsson schrieb:
Carl Sorensen wrote:
You forgot that tabStaff needs tabVoice, and both of your constructs
used
Voice contexts, instead of tabVoice contexts.
The first, << ... \\ ... >>, implicitly creates Voice contexts.
The second explicitly creates Voice contexts.
I think you've found a good enhancement request -- make << \\ >>
apply to
tabVoice if it's in a tabStaff context.
It already does if you use the same trick as is described in
http://lilypond.org/doc/v2.13/Documentation/user/lilypond/Common-notation-for-percussion#Percussion-staves
I have modified your example into
version "2.13.3"
poly = \relative c' {
<< {c1} \\ {a4 g f e} >> a1
}
\score {
<<
\new StaffGroup = "tab with traditional" <<
\new Staff = "guitar traditional" <<
\clef "treble_8"
\poly
>>
\new TabStaff = "guitar tab" <<
\new TabVoice = "1" {s1}
\new TabVoice = "2" {s1}
\poly
>>
>>
>>
}
which works as expected. Notice that the duration of the spacing note
(s1 in the above example) has to be long enough to keep the
corresponding context alive until the (beginning of the) last << ...
\\ ... >> used in the piece
(see also
http://lists.gnu.org/archive/html/lilypond-user/2005-05/msg00016.html
which exploits an still undocumented feature/bug).
Ok, thanks for clarification! Still, it would be great if this would work
without fiddling with the right amount of s1*x, if this is possible.
Marc
/Mats
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user