lilypond-user
[Top][All Lists]
Advanced

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

Re: how to override of TextScript.stencil into a tweak


From: Mark Knoop
Subject: Re: how to override of TextScript.stencil into a tweak
Date: Fri, 3 Jun 2016 08:39:41 +0100

At 00:27 on 03 Jun 2016, Ryan Michael wrote:
>I have the following snippet
>
>%%%%%%%%%%%%%%%%%%%%%%%%%%
>\time 4/4
> \once \override TextScript.stencil =
>    #(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
>r1\fermata-\markup{\teeny "wait for viola cue"}\stopTextSpan^"B"
>%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>However the above applies a stencil boxer to the markup below the
>staff in addition to the string "B". I would only like to add the
>stencil boxer to the letter "B" above the staff. I understand that I
>should use a tweak except when I try the above in the Tweak syntax, I
>get an error. Thanks!

Well, you don't mention what you tried. This seems to work:

{
r1\fermata
-\tweak TextScript.stencil #(make-stencil-boxer 0.1 0.3 
ly:text-interface::print)
-\markup { \teeny "wait for viola cue" }
\stopTextSpan
^"B"
}

--
Mark Knoop



reply via email to

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