1 %!PS-Adobe-3.0: lilyponddefs
4 /setgray { 1 add } bind def
8 /staffrulethickness 1 def
25 /settext % '(' text ')'
29 /Times-Roman findfont 12 scalefont setfont
34 /setfinger % '(' text ')'
38 /feta-nummer5 findfont 12 scalefont setfont
43 /setitalic % '(' text ')'
47 /Times-Italic findfont 12 scalefont setfont
52 /vrule % width height depth
55 3 -1 roll setlinewidth
61 /draw_stem % kern width height depth
64 4 -1 roll neg 0 translate
69 /widthbar % height width
73 2 div dup neg 0 exch moveto
81 stafflinethickness 2 mul widthbar
86 stafflinethickness 1.6 mul widthbar
99 /generalmeter % num den
107 /feta-braces20 findfont 12 scalefont setfont%
119 xoffset yoffset translate
125 0 0 moveto pathbbox exch pop sub exch pop
128 yoffset add /yoffset exch def
130 yoffset staffheight 8 mul sub /yoffset exch def
133 /unknown { (U) show} bind def
134 /empty {(E) show} bind def
136 /turnOnExperimentalFeatures { } bind def
138 /rulesym % thick length
146 /draw_beam % width slope thick
148 2 div /beam_thick exch def
151 beam_slope beam_wd mul /beam_ht exch def
152 0 beam_thick neg moveto
153 beam_wd beam_ht rlineto
154 0 beam_thick 2 mul rlineto
161 staffrulethickness setlinewidth
166 cresc_wd cresc_cont moveto
169 cresc_wd cresc_cont neg moveto
170 0 cresc_ht neg lineto
176 staffrulethickness setlinewidth
182 cresc_wd cresc_ht lineto
184 0 cresc_cont neg moveto
185 cresc_wd cresc_ht neg lineto
190 1 copy mul exch 1 copy mul add sqrt
192 staffrulethickness 1.2 mul /plet_t exch def
202 staffheight 2 div /plet_gapx exch def
203 plet_dy plet_dx div plet_gapx mul /plet_gapy exch def
204 staffheight 4 div dir mul /plet_h exch def
208 plet_dx plet_gapx sub 2 div
209 plet_dy plet_gapy sub 2 div plet_h add lineto
210 plet_dx plet_gapx add 2 div
211 plet_dy plet_gapy add 2 div plet_h add moveto
212 plet_dx plet_dy plet_h add lineto
213 plet_dx plet_dy lineto
219 staffrulethickness setlinewidth
241 staffheight 4 div /interline exch def
246 /traject_alpha exch def
247 traject_ds traject_alpha sin mul add
249 traject_ds traject_alpha cos mul add
254 % interline 2 div /bracket_b exch def
255 interline 3 div /bracket_b exch def
256 interline 2 mul /bracket_w exch def
257 staffrulethickness /stafflinethickness exch def
258 stafflinethickness 2 mul /bracket_t exch def
259 interline 1.5 mul /bracket_v exch def
260 bracket_v /bracket_u exch def
261 50 /bracket_alpha exch def
268 bracket_b bracket_v add bracket_h bracket_t sub bracket_u add
269 bracket_alpha bracket_v -0.15 mul bracket_traject
272 0 bracket_v 0.5 mul bracket_traject
276 bracket_b bracket_h bracket_t sub
277 0 bracket_v 0.4 mul bracket_traject
279 bracket_b bracket_v add bracket_h bracket_t sub bracket_u add
280 bracket_alpha bracket_v -0.25 mul bracket_traject
282 bracket_b bracket_v add bracket_h bracket_t sub bracket_u add
284 bracket_b bracket_h bracket_t sub
305 2 div bracket_b add /bracket_h exch def
306 bracket_t setlinewidth
322 stafflinethickness setlinewidth
324 % see if we're there...
325 % 10 setlinewidth 0 0 moveto 400 800 lineto stroke