lilypond-user
[Top][All Lists]
Advanced

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

Re: Offset beam positions


From: Kieren MacMillan
Subject: Re: Offset beam positions
Date: Fri, 7 Apr 2017 20:25:58 -0400

Hi Joseph,

> I am trying to set the following measure:

The attached modified snippet does what you want, I believe. Note that I 
tweaked the Beam.positions AND added padding between the PianoStaff staves.

Hope this helps!
Kieren.

%%%  SNIPPET BEGINS
\version "2.19.58"
\language "english"

global = {
  \key e \minor
  \time 4/4
}

rightOne = \relative c'' {
  \global
  b16 as b cs as8. b16 b8 fs'16 cs! d8 as! |
}

rightTwo = \relative c'' {
  \global
  d,8 [cs~] \stemDown \tweak Beam.positions #'(-4.5 . -5.25) cs \change Staff = 
"left" \stemUp fs16 cs d8 as b8 fs'16 cs |
}

leftOne = \relative c' {
  \global
}

leftTwo = \relative c' {
  \global
  fs,8 e fs4 r2 |
}

pedal = \relative c {
  \global
   r2 r8 fs fs4-\parenthesize \mordent |
}

\score {
  <<
    \new PianoStaff \with { \override StaffGrouper.staff-staff-spacing.padding 
= #3 } <<
      \new Staff = "right" << \rightOne \\ \rightTwo >>
      \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }
    >>
    \new Staff = "pedal" { \clef bass \pedal }
  >>
}
%%%  SNIPPET ENDS
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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