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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to