Dear All, I found a partial solution to the issues as mentioned in my
previous Email.
See this attachment.
By adding a new voice the stem in the upperpart is now correct (issue 1).
However, issue 2 now is different: the ties are longer and extend over
the chord.
Any suggestion?
Thanks,
Gerard
\version "2.18.2"
\paper { # (set-paper-size "a4" 'landscape)
top-margin = 1.5\cm
left-margin = 2\cm
line-width = 26\cm
bottom-margin = 1\cm
markup-system-spacing #'padding = #6
}
\layout {}
testStaff = <<
\time 4/4
\context Staff = "upper" {
\clef "treble"
\key es \major
\relative c''' <<
% Upper Voice
{c2\( es4~\) [es8^\fermata r16 <es c as>16]}
\\
% Middle voices
\relative c''' { \change Staff = "upper" \stemDown {c32 bes as es} \change Staff = "lower" \stemUp \set tieWaitForNote = ##t {c ~ bes ~ as ~ <c bes as es>}
\change Staff = "upper" \stemDown {as'32 bes as es} \change Staff = "lower" \stemUp \set tieWaitForNote = ##t {c ~ bes ~ as ~ <c bes as es > }
\change Staff = "upper" \stemDown {es'32 d c as} \change Staff = "lower" \stemUp \set tieWaitForNote = ##t es ~ d ~ c ~ as~ <es'^\fermata d c as>8 [r16 <es c as f>]}
\\
% chords and ties
\relative c'' {
s32 s \override Tie.minimum-length = #4 \set tieWaitForNote = ##t {\hideNotes as' ~ es ~ <as es>8 }
s32 \override Tie.minimum-length = #6 \set tieWaitForNote = ##t {\hideNotes bes ~ as ~ es~ <bes' as es>8}
s32 s \override Tie.minimum-length = #4 \set tieWaitForNote = ##t {\hideNotes c~ as~ \unHideNotes <c as>8~ <c as>8 s16 s}
}
\\
\relative c''' {s8 \stemDown <as es>8 s8 <bes as es>8 }
>>
}
\context Staff = "lower" {
\clef "treble"
\key es \major
\relative c' {s2 s2}
}
>>
\book{
\score { << \testStaff >>}
}_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user