4 Setting @code{\outputproperty} is a clumsy and deprecated way of changing
5 grob definitions. In this example, the predicate checks the @code{text}
6 object property, to shift only the `m.d.' text, but not the `two'
7 text. Since both scripts are @code{TextScript} grobs, using
8 possible to use @code{\override} would shift both texts.
16 #(define (make-text-checker text)
17 (lambda (grob) (equal? text (ly:get-grob-property grob 'text))))
20 \notes\relative c''' {
23 \outputproperty #(make-text-checker (make-simple-markup "m.d."))
24 #'extra-offset = #'(-4.0 . -3.5)