RandomLilyPondUser wrote:
I'm writing drum scores, and it takes a lot of copy and pasting for flams, ruffs, and gracenotes. For example, every time I need a flam, I have to paste this entire code:\override Stem #'length = #4 \acciaccatura {sn8} \revert Stem #'length sn4 is there a way I can make a pointer to the code so I can type in something like snflam that will call those linesof code, so I don't have to paste all that stuff for every flam?
Of course. Check the Learning Manual section 5.1.4 "Saving Typing with Variables":
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Saving-typing-with-variables-and-functions#Saving-typing-with-variables-and-functions Jon -- Jonathan Kulp http://www.jonathankulp.com _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
