Simon Albrecht <[email protected]> writes:
> Oh, interesting idea! Never heard of. It seems like a fine and
> sensible thing to do, except that normally I would have created the
> voices explicitly in my score block, and I am using \context only when
> referencing already existing contexts – isn’t that kind of a policy?
Sort of, yes.
> But I see, you probably mean putting it inside the music function:
Correct. It was not intended for user-controlled input.
> after =
> #(define-music-function (t e m) (ly:duration? ly:music? ly:music?)
> #{
> \context Bottom <<
> #m
> { \skip $t <> -\tweak extra-spacing-width #empty-interval $e }
> >>
> #})
>
> There’s nothing wrong with that, and it prevents any problems indeed.
Good to hear.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user