lilypond-user
[Top][All Lists]
Advanced

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

Re: Hint: custom music symbols


From: Bertalan Fodor
Subject: Re: Hint: custom music symbols
Date: Thu, 10 Feb 2005 23:05:18 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Well, I've just found in the manual how to create custom markups. So I attach here the hauptstimme. What do you think, would it be practical if users published their own postscript markup creations in a way like this? Or should they really go into the fonts? And have their own commands? Symbol contribution would be very good. What is the preferred way for this?

#(def-markup-command (hauptstimme layout props)()
 (interpret-markup layout props
(markup #:postscript "0 2.4 translate 0.06 -0.06 scale newpath 0 0.846390 moveto 0 0.10629000 lineto 1.1633800 0.10629000 lineto 2.3267500 0.10629000 lineto 2.3828900 6.5220000 lineto 2.4390200 12.937590 lineto 9.8091000 12.993390 lineto 17.179170 13.049190 lineto 17.179170 6.5778000 lineto 17.179170 0.10629000 lineto 26.298980 0.10629000 lineto 35.418790 0.10629000 lineto 35.418790 1.2727900 lineto 35.418790 2.4391900 lineto 27.465470 2.4391900 lineto 19.512150 2.4391900 lineto 19.512150 16.012990 lineto 19.512150 29.586590 lineto 18.345660 29.586590 lineto 17.179170 29.586590 lineto 17.179170 22.478890 lineto 17.179170 15.371090 lineto 9.8091000 15.426890 lineto 2.4390200 15.482690 lineto 2.3831400 22.534590 lineto 2.3272600 29.586590 lineto 1.1636300 29.586590 lineto 0 29.586590 lineto 0 14.846390 lineto closepath fill 0 -14 moveto"
   )))

#(set-global-staff-size 16)

\score {
   \new Staff {
       b''^\markup { \hauptstimme  } d e f
   }
}

#(set-global-staff-size 16)

\score {
   \new Staff {
       b''^\markup { \hauptstimme  } d e f
   }
}




reply via email to

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