lilypond-user
[Top][All Lists]
Advanced

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

Re: Advanced note column handling…


From: Simon Albrecht
Subject: Re: Advanced note column handling…
Date: Tue, 1 Sep 2015 19:17:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Am 01.09.2015 um 14:15 schrieb Michael Gerdau:
Dear Simon,

in a Mendelssohn score I encountered a problem on which I’m biting my
teeth off. Have a look at the attachments – that’s easier than making
many words. As you can imagine, the span stem should connect the two
middle voices and the top two voices not collide (no matter in which
direction), but I couldn’t yet figure out how: no combination of
NoteColumn.force-hshift and NoteColumn.ignore-collision that I tried
gave the intended result.
At least optically I can trick the collision away...
Thanks, that’s a good workaround. Looks like there’s room for improvement in the #Span_stem_engraver…

Best regards, Simon
%%%%%%%%%%%%%%
\version "2.19.25"

\score {
   \new PianoStaff \with { \consists #Span_stem_engraver }
   <<
     \new Staff
     <<
       \repeat tremolo 4 {
         a'16 bes'16
       }
       \\
       {
         \voiceFour \crossStaff {
           % With this override, the span stem is correct,
           % but the first and second voices collide…
           %\override NoteColumn.ignore-collision = ##t
           \once \override NoteColumn.force-hshift = #0.5 \once \override
Stem.length = #12 <g' e'>4.
         }
       }
     >>
     \new Staff
     <<
       \clef bass
       { \voiceFour \once \override NoteColumn.force-hshift = #1 cis'4. }
       \\
       { \voiceTwo a,2 }
     >>
   >>
}
%%%%%%%%%%%%%%





reply via email to

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