Hi Jacques,

if you follow the instructions on cross-staff stems, you will arrive at something like this:

\version "2.19.0"

\score {
    \new PianoStaff \with {
        \consists #Span_stem_engraver
    } <<
        \new Staff = RH <<
            {
                \clef treble
                R1
            }
            \new Voice \relative c'' {
                \autoBeamOff
                \voiceTwo
                \crossStaff {
                    s4 c,8 <c e g> s2 |
                }
            }
        >>
        \new Staff = LH <<
            \relative c {
                \clef bass
                \voiceTwo
<c e g c>8 \change Staff = RH <c' e g> \change Staff = LH <c, e g> g' r2 |
            }
        >>
    >>
}

Rutger

On 10-07-18 23:16, Menu Jacques wrote:
Hello Mark,

That’s the example I was mentioning.

But in the image from Finale 2014, all pitched notes occur in the second staff, and I tried to achieve the same.

JM

Le 10 juil. 2018 à 21:59, Mark Stephen Mrotek <carsonm...@ca.rr.com <mailto:carsonm...@ca.rr.com>> a écrit :

Menu Jackues
Perhaps this can direct you
http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-keyboards#cross_002dstaff-stems
Mark
*From:*lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org]*On Behalf Of*Menu Jacques
*Sent:*Tuesday, July 10, 2018 12:49 PM
*To:*Lilypond-User Mailing List <lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>>
*Cc:*Menu Jacques <imj-...@bluewin.ch <mailto:imj-...@bluewin.ch>>
*Subject:*Chord \crossStaff question
Hello folks,
How can I modify the example below in order to obtain this score, with the staff change on the last two chords:
<image001.png>
instead of that one:
<image002.png>
The example in the docs didn’t give me the solution.
Thanks for your help!
JM
%%%%%%%%%%%

\version "2.19.82"

\version "2.19.58"
% automatically converted by musicxml2ly from CrossStaffChord.xml_inter.xml


PartPOneVoiceOne =  \relative c' {
  \clef "treble" \key c \major \time 4/4 | % 1
  R1 \bar "|."
}

PartPOneVoiceTwo =  \relative c {
  \clef "bass" \key c \major \time 4/4
  <c e g c>8 [
  \change Staff="1"
  <c' e g>8
  \change Staff="2"
  <c, e g c>8
  \change Staff="2"
  <g' c e g>8
  ]
  \change Staff="2"
  r2 \bar "|."
}


% The score definition
\score {
  <<

    \new PianoStaff
    <<

      \context Staff = "1" <<
        \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
      >> \context Staff = "2" <<
        \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceTwo" {  \PartPOneVoiceTwo }
      >>
    >>

  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  %  \midi {\tempo 4 = 100 }
}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to