1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags = "tweaks-and-overrides"
9 The @code{\\applyOutput} command allows the tuning of any layout
10 object, in any context. It requires a Scheme function with three
14 doctitle = "Changing properties for individual grobs"
21 #(define (mc-squared grob grob-origin context)
24 (ifs (ly:grob-interfaces grob))
25 (sp (ly:grob-property grob 'staff-position))
27 (if (memq 'note-head-interface ifs)
29 (ly:grob-set-property! grob 'stencil ly:text-interface::print)
30 (ly:grob-set-property! grob 'font-family 'roman)
31 (ly:grob-set-property! grob 'text
32 (make-raise-markup -0.5
34 ((-5) (make-simple-markup "m"))
35 ((-3) (make-simple-markup "c "))
36 ((-2) (make-smaller-markup (make-bold-markup "2")))
37 (else (make-simple-markup "bla"))
43 \applyOutput #'Voice #mc-squared