Re: How to place a TextScript in the middle of the Staff?
\override TextScript.outside-staff-priority = ##f If you don't turn off outside-staff-priority, it will try to prevent the collision, moving the text script out of the staff. Thanks, that was the secret ingredient...I knew it had to be something simple :) Kind regards, Michael -- Michael Gerdau email: m...@qata.de GPG-keys available on request or at public keyserver
Re: How to place a TextScript in the middle of the Staff?
Le mardi 07 mars 2023 à 10:46 +0100, Michael Gerdau a écrit : > 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 > } ``` \version "2.25.2" music = \relative d' { \override TextScript.Y-offset=#0 \override TextScript.outside-staff-priority = ##f \override TextScript.X-offset=#0.5 d2_\markup \vcenter \musicglyph "z" \repeatTie r2 } \score { \music } ``` If you don't turn off outside-staff-priority, it will try to prevent the collision, moving the text script out of the staff. signature.asc Description: This is a digitally signed message part
How to place a TextScript in the middle of the Staff?
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: m...@qata.de GPG-keys available on request or at public keyserver