lilypond-user
[Top][All Lists]
Advanced

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

Rotated hairpin crossing staff


From: Rachel Green
Subject: Rotated hairpin crossing staff
Date: Sun, 9 Jan 2022 02:03:21 +0000

Hi,

How would I allow the hairpin to cross the staff? I would like the hairpin to be parallel with the notes as in the picture. I figured out how to rotate it, but LilyPond does not allow the hairpin to intersect with the staff.
I tried \override Hairpin.padding = #0, but that wasn’t right.

An example snippet is below.

Best,
Rachel





\version "2.20.0"

\language "english"
#(set-global-staff-size 20)


VarOneTreble = \relative c'
  {
   s2.
  }

 VarOneBass = \relative c
  {
    \clef bass
     \time 3/4
        \override Hairpin.rotation = #'(15 -1 0)
        \tuplet 6/4 4 { g,16-\< d' g b d g }
        \change Staff = "treble"
    b32 d g b d g b d\! g8 r
  }


\score {
  \new GrandStaff
  <<
  \new Staff = "treble" { \VarOneTreble }
        \new Staff = "bass" { \VarOneBass }
  >>
}



Attachment: IMG_0922.heic
Description: IMG_0922.heic


reply via email to

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