Hi Andrew,
How about changing the stencil once, e.g.:
%%%
\version "2.19.82"
\layout {
indent = 0
ragged-right = ##t
}
STclef = {
\once\override Staff.Clef.stencil =
#(lambda (grob)
(let ((glyph (ly:grob-property grob 'glyph-name)))
(cond
((equal? glyph "clefs.G")
(grob-interpret-markup grob #{
\markup
\translate #'(0 . 5.5)
\override #'(baseline-skip . 5.5)
\column { "ST" \musicglyph #"clefs.G" } #}))
((equal? glyph "clefs.F")
(grob-interpret-markup grob #{
\markup
\translate #'(0 . 2)
\override #'(baseline-skip . 2)
\column { "ST" \musicglyph #"clefs.F" } #}))
(else (ly:clef::print grob)))))
}
\new StaffGroup <<
\new Staff
\relative c' {
\STclef
\clef G a' b c d \break b c a c
}
\new Staff
\relative c, {
\STclef
\clef F a' b c d \break b c a c
}
>>
%%%
Cheers,
Pierre
Le lun. 11 févr. 2019 à 02:35, Andrew Bernard <[email protected]> a
écrit :
> I want to have markup such as ST over the clefs at the start of each page
> in a section of the string quartet I am doing. This is to indicate ongoing
> ST technique over extended sections, as a reminder to the player. Clefs
> don't appear to support markup. Rehearsal marks would be fine, but I only
> get one on the first staff of the four.
>
> You can see the sort of thing in the picture here.
>
> Any suggestions?
>
> Andrew
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user