[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with cross-staff stems
From: |
Janek Warchoł |
Subject: |
Re: problem with cross-staff stems |
Date: |
Thu, 9 Jun 2011 21:29:13 +0200 |
Hi David,
2011/6/9 David Nalesnik <address@hidden>:
> In the example below, I would like to have the quarter-note stems
> joined from one staff to the other, with the stem direction of the
> eighth-note figure pointing up. (Down would look better in my
> example, but I do need this particular arrangement for a more complex
> passage.) Trouble is, the quarter-note stems in the lower staff will
> not extend beyond the beam and the stems won’t join. (Varying the
> stem-length override just pushes the staves further apart.) The
> attached image shows the problem.
Do you want something like in the attachment?
I suggest this code:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.13.61" %didn't check it in 2.14.0. but i don't anticipate
any surprises
top = \relative c' {
<<
{ r4
\override Stem #'cross-staff = ##t
\override Stem #'length = #21
\override Stem #'Y-offset = #-7
\override NoteColumn #'ignore-collision = ##t
e e e }
{ s4
\change Staff = "bottom"
c, c c
}
>>
}
bottom = \relative c' {
\clef bass
\voiceOne % similar results with \voiceThree or \stemUp
g8 a g a g a g a
}
\new PianoStaff <<
\new Staff = "top" {
\top
}
\new Staff = "bottom" {
\bottom
}
>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
something like this.png
Description: PNG image