lilypond-user
[Top][All Lists]
Advanced

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

Re: How to cross-staff beam different length notes in a chord.


From: Arle Lommel
Subject: Re: How to cross-staff beam different length notes in a chord.
Date: Sat, 8 Dec 2012 11:18:38 +0100

As a follow-up, I managed to mostly solve the problem with this example (relevant additions in bold):

top = { \change Staff = "top" }
bottom = { \change Staff = "bottom" }

staffPiano = \new PianoStaff {
\set PianoStaff.instrumentName = #"Piano"
\time 3/4
<<
\context Staff = "top" { 
\clef treble
\key b \major
\relative c' {
<< { \stemUp fis2 } \\ { \bottom \stemUp  \once \override Stem #'cross-staff = ##t \once \override Stem #'length = #25 \once \override NoteColumn #'ignore-collision = ##t <fis, b dis>4^"   Ben marcato e sostenuto il canto" \top \stemNeutral <fis'' b dis>8_"m.g." b,8\rest <cisis, gis'>4 } \\ { \tiny d'''8\rest \ottava #1 \stemUp dis32 fis32 dis32 fis,32 \ottava #0 b4\rest fis4\rest | } >> |
}
}
\context Staff = "bottom" {
\clef bass
\key b \major
\relative c, {
\stemDown <b b'>2^\p <eis' b'>4 |
}
}
>>
}

However, the result still has some problems:


Note that the stems are slightly misaligned. Not a huge deal, but it looks a bit sloppy.

Any better way to handle this?

-Arle

reply via email to

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