[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unable to force hshift
From: |
Stefan Waler |
Subject: |
Unable to force hshift |
Date: |
Sat, 24 Jan 2009 14:07:52 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (Windows/20081209) |
Hi,
after setting the stem direction manually, I'm not able anymore to set a
manual shift for a note. Any workaround...?
I attach a short example where I had no good idea so far because of the
staff switch.
Thanks for your help!
Stefan
\version "2.12.01"
global = {
\key c \major
\time 4/4
}
RHNotes = {
\clef "treble"
\relative c''
{
<< { f4 f f } \\ { d d d } >>
}
}
LHNotes = {
\clef "bass"
\relative c'
{
d4
\showStaffSwitch
\change Staff=RHStaff
\stemDown
\once \override NoteColumn #'force-hshift = #1.7
g
\stemNeutral
\change Staff=LHStaff
d
\hideStaffSwitch
}
}
\score {
<<
\new StaffGroup <<
\new Staff = "RHStaff"
\context Staff = RHStaff \new Voice << \global \RHNotes
>>
\new Staff = "LHStaff"
\context Staff = LHStaff \new Voice << \global \LHNotes
>>
>>
>>
}
- Unable to force hshift,
Stefan Waler <=