Werner LEMBERG <w...@gnu.org> writes: > Folks, > > > I want this > > c4-\tweak Script.script-priority #-100 > ^\prall > -\tweak X-offset #0.4 > ^\markup { \fontsize #-5 \sharp } > > converted to a macro so that I can say > > c4\prallSharp > > (actually, I think that this command and its siblings \prallFlat, > \pralldownSharp, etc. should be added to lilypond because the > definitions are non-trivial) > > The naïve approach > > prallSharp = -\tweak Script.script-priority #-100 > ^\prall > -\tweak X-offset #0.4 > ^\markup { \fontsize #-5 \sharp } > > doesn't work, and I wonder whether there exists a solution without a > lot of Scheme code – and where I should find hints in the manual for > that...
No solution of that kind, really, as an event-function can only produce a single post-event. Try creating a single event by messing with the stencil of some script. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user