Hi Kieren, Thanks for the reply. It works. One thing about this implementation is I'll need to remember to close the slur, while logically the closing should also be part of the macro. I'm quite puzzled by the fact that the closing cannot be in the macro…
But anyway, if this is a limitation of the program, it's good enough for me. Thanks again~ On Fri, Sep 15, 2017 at 2:08 PM, Kieren MacMillan <kieren_macmil...@sympatico.ca> wrote: > Hi, > >> If I have a note and a curve like this: >> b8-\tweak control-points #'((0.5 . 4) (1 . 6) (2 . 6) (2.5 . 4)) ( <> ) >> How can I make the curve into a macro, so that I can write "b8 \curve" >> or "\curve b8"? > > \version "2.19.65" > curve = -\tweak control-points #'((0.5 . 4) (1 . 6) (2 . 6) (2.5 . 4)) ( > { b8\curve c') c''\curve b') } > > Hope that helps. > Kieren. > ________________________________ > > Kieren MacMillan, composer > ‣ website: www.kierenmacmillan.info > ‣ email: i...@kierenmacmillan.info > -- Fear is the path to the dark side. Fear leads to anger, Anger leads to hate, Hate leads to suffering. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user