lilypond-user
[Top][All Lists]
Advanced

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

Re: making a dashed line from one staff to another


From: Andrew Bernard
Subject: Re: making a dashed line from one staff to another
Date: Mon, 13 Jun 2016 22:31:33 -0700

G’day Dan,

Try this (\with-dimensions being the key point):

== snip

rightOne = \relative c' {
  f16 aes des ees ees,16 aes c ees
}

leftOne = \relative c' {
  \tuplet 3/2 { c8 bes aes' }
  \once \override TextScript.extra-offset = #'( 1 . -3 )
  \acciaccatura {
    bes,16^\markup {
      \with-dimensions #'(0 . 0) #'(0 . 0)
      \override #'(thickness . 0.7)
      \override #'(off . 0.3)
      \draw-dashed-line #'(1.9 . 6.9)
    }
    c
  } bes4
}

\score {
  \new PianoStaff
  <<
    \new Staff = "right"
    { \rightOne }
    \new Staff = "left"
    { \leftOne }
  >>
}


== snip

reply via email to

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