lilypond-user
[Top][All Lists]
Advanced

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

How to place a TextScript in the middle of the Staff?


From: Michael Gerdau
Subject: How to place a TextScript in the middle of the Staff?
Date: Tue, 7 Mar 2023 10:46:44 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

Hi list!

I'm trying to place an articulation right in the middle of the Staff and I seem to lack the proper incantation. When I increase Y-offset to e.g. #3 the little "z" is printed above the Staff. I want it to appear at about the gis position on top of the stem. What do I have to adjust to make it work?

\version "2.25.2"

music = \relative d' {
  \override TextScript.Y-offset=#2
  \override TextScript.X-offset=#0.5
  d2_\markup { \musicglyph "z" }\repeatTie r2
}

\score {
  \music
}

Kind regards,
Michael
--
 Michael Gerdau       email: mgd@qata.de
 GPG-keys available on request or at public keyserver



reply via email to

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