4 texidoc = "The @code{\\applyOutput} expression is the most flexible way to
5 tune properties for individual grobs.
7 Here, the layout of a note head is changed depending on its vertical
12 #(define (mc-squared gr org cur)
13 (let ((sp (ly:grob-property gr 'staff-position)))
14 (ly:grob-set-property!
16 (grob-interpret-markup gr
17 #{ \markup \raise #-0.5
21 ((-2) #{ \markup \teeny \bold 2 #})
24 \new Voice \relative {
25 \set autoBeaming = ##f
29 \applyOutput Voice.NoteHead #mc-squared