lilypond-user
[Top][All Lists]
Advanced

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

articulation script vertically centered between staff lines.


From: Karol Majewski
Subject: articulation script vertically centered between staff lines.
Date: Mon, 10 Mar 2014 21:14:31 +0100

Hi

In the following example, I want to change vartical position of the second 
staccato, so that it's ideally centered between 3rd and 4th staff line. I could 
override Y-offset or extra-offset, but then I have to know the right integer. 
Is there any general solution to this?


\version "2.19.3"

upper = {
  \clef treble \time 2/4
  \voiceOne a''8 \noBeam <b' d'' g''>8
}

lower = {
  \clef bass \time 2/4
  \override Beam.auto-knee-gap = ##f
  \voiceTwo b8 -. \change Staff = "upper" <d' e' g'>8 -.
}

\score {
  \new PianoStaff <<
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
}

Karol

Attachment: n.png
Description: PNG image


reply via email to

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