[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ties and cross staff beaming
From: |
Lukas-Fabian Moser |
Subject: |
Re: ties and cross staff beaming |
Date: |
Tue, 5 Mar 2019 20:01:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
Am 05.03.19 um 19:27 schrieb Rachel Knight:
That idea should have worked, but the ties don’t look quite right.
Below is a compilable example.
Yes, that's why working with hidden extra notes is a bit messy: We have
to prevent those from taking up space. (Omit the \hideNotes to
understand what's happening here.)
What works for me here is:
\version "2.19.81"
down = { \change Staff = "bass" \stemUp }
up = {\change Staff = "treble" \stemDown}
\language "english"
Treble = {
<<
\relative c'
{
\set tieWaitForNote = ##t
\down c,8~[ \up <g' bf e>~]
\down
c,4
}
\new Voice
\relative c'
{
\stemDown
s8 \hideNotes
\once \override NoteColumn.force-hshift = -1
\once \omit Flag
<g bf e>8~
\unHideNotes
<g bf e>4
}
>>
}
Bass = {
\clef bass
s2*4
}
\score {
\new GrandStaff
<<
\new Staff = treble { \Treble }
\new Staff = bass { \Bass }
>>
}
Just as an aside: The use of \stemDown and \stemUp is discouraged in
most cases - in almost all situations that come up, \voiceOne, \voiceTwo
etc. should be preferred. But probably you already knew this and use
\stemDown/\stemUp here for some good reason.
Lukas