Hi group,
Any guess on how to make LilyPond automatically shift rests the way it
shifts notes in middle voices to avoid collisions with other notes?
Here's a minimal example.
Thanks,
David
%% Example %%
\version "2.14"
upstems = {
\relative c' {
c2
}
}
middle = {
\relative c' {
g4 g
}
}
middleRest = {
\relative c' {
g4 \rest g
}
}
downstems = {
\relative c {
c2
}
}
\score {
<<
\new Staff {
\clef "treble_8"
<<
{ \new Voice { \voiceOne \upstems } }
{ \new Voice { \voiceThree \middle } }
{ \new Voice { \voiceTwo \downstems } }
>>
}
\new TabStaff {
<<
{ \upstems }
{ \middle }
{ \downstems }
>>
}
>>
}
\score {
<<
\new Staff {
\clef "treble_8"
<<
{ \new Voice { \voiceOne \upstems } }
{ \new Voice { \voiceThree \middleRest } }
{ \new Voice { \voiceTwo \downstems } }
>>
}
\new TabStaff {
<<
{ \upstems }
{ \middleRest }
{ \downstems }
>>
}
>>
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user