Oups, copy/paste error...
Here you go :
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"
myClef = \markup \magnify #3 \lower #1 \scale #'(0.8 . 1) "G" % or your
\char ##xyyyy
myRest = \markup "R" % or your \char ##xyyyy
{
\once\override Staff.Clef.stencil = #(lambda (grob)
ly:clef::print (grob-interpret-markup grob myClef))
c''
\override Voice.Rest.stencil = #(lambda (grob)
ly:rest::print (grob-interpret-markup grob myRest))
c\rest
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
~Pierre
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Replacing-glyph-visuals-with-arbitrary-unicode-character-tp160741p160743.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user