1
0
Fork 0
mirror of https://github.com/kastdeur/lilydrum.git synced 2024-12-22 17:23:32 +01:00

Fixed postscript definitions for "rthrow" and "lthrow" flourishes

This commit is contained in:
Eric Teunis de Boone 2016-11-25 15:40:07 +01:00
parent 4ddf2e4bec
commit 24caca1626
2 changed files with 20 additions and 5 deletions

View file

@ -17,7 +17,7 @@
} }
} }
\include "lilydrum.ly" \include "./lilydrum.ly"
\score { \score {
\new PipeBandDrumStaff { \new PipeBandDrumStaff {
@ -45,7 +45,7 @@
\score { \score {
\new PipeBandDrumStaff { \new PipeBandDrumStaff {
\tempo 2/4 \time 2/4
\drummode { \drummode {
d^\splitTheFeather g^\cartWheel d^\splitTheFeather g^\cartWheel
d^\up r4 d^\up r4

View file

@ -36,6 +36,13 @@ rthrow = ^\markup \center-column {
/height .6 def /height .6 def
/fwidth width radius add def /fwidth width radius add def
/closedpoint {
radius 0 360 arc
gsave filled neg
setgray fill
grestore
stroke } def
/dotstick { /dotstick {
0 0 moveto 0 0 moveto
0 0 closedpoint 0 0 closedpoint
@ -50,7 +57,7 @@ rthrow = ^\markup \center-column {
0 0 dotstick 0 0 dotstick
stroke stroke
" "
} }
lthrow = ^\markup \center-column { lthrow = ^\markup \center-column {
\postscript #" \postscript #"
/width 2 def /width 2 def
@ -59,6 +66,13 @@ lthrow = ^\markup \center-column {
/height .6 def /height .6 def
/fwidth width radius add def /fwidth width radius add def
/closedpoint {
radius 0 360 arc
gsave filled neg
setgray fill
grestore
stroke } def
/dotstick { /dotstick {
radius 0 closedpoint radius 0 closedpoint
radius 0 moveto radius 0 moveto
@ -71,7 +85,8 @@ lthrow = ^\markup \center-column {
0 height translate 0 height translate
0 0 dotstick 0 0 dotstick
stroke stroke
" } "
}
bthrow = ^\markup \center-column { bthrow = ^\markup \center-column {
\postscript #" \postscript #"
/width 2 def /width 2 def