[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Replacing glyph visuals with arbitrary unicode character
From: |
Schneidy |
Subject: |
Re: Replacing glyph visuals with arbitrary unicode character |
Date: |
Sun, 23 Mar 2014 08:49:35 -0700 (PDT) |
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.