Thomas Morley <thomasmorle...@googlemail.com> writes:

> \version "2.16.0"
>
> x =
> #(define-music-function (parser location rhythm)(ly:duration?)
> #{
>         \once \override ChordName #'stencil =
>           #(lambda (grob)
>             (grob-interpret-markup grob (markup #:small "x")))
>         r $rhythm
> #})

I'd replace \once \override with \tweak and remove the = sign (untested
though).  If it works, it takes less chances interfering with stuff
possibly happening at the same time.  I haven't actually tried, so no
guarantee.

-- 
David Kastrup


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

Reply via email to