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