Hello everyone,
In preparing notes for my theory classes, I find it useful to have arrows
for various voice-leading rules. Particularly, I use solid arrows to show
that a rule is being carried out and a dashed arrow to show that a rule is
being ignored for some idiomatic reason.  
I'm currently using the glissando environment to create one kind of arrow,
but when I try to define a new command, as shown below, I get a huge string
of errors, and the code doesn't compile.
Here's the code I'm currently using for the solid arrow:
#(define-event-function (parser location)() 
#{ 
        \revert Glissando.style
        \tweak #'arrow-length #.7 
        \tweak #'arrow-width #.35 
        \glissando 
#}) 

And here's the code I'm using for the dashed arrow:
#(define-event-function (parser location)() 
#{ 
        \override Glissando.style = #'dashed-line
        \tweak #'arrow-length #.7 
        \tweak #'arrow-width #.35 
        \glissando 
#})
Any help on this matter would be much appreciated.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Two-types-of-glissandi-in-the-same-score-tp172384.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to