Changing properties for individual grobs: Difference between revisions

extend documentation
mNo edit summary
 
Line 3: Line 3:
In the example below, function <code>mc-squared</code> is executed for all <code>NoteHead</code> grobs (within the current <code>Voice</code> context) at the current time step; the function modifies the grob's <code>stencil</code>, using the <code>staff-position</code> property to replace some pitches with markup.
In the example below, function <code>mc-squared</code> is executed for all <code>NoteHead</code> grobs (within the current <code>Voice</code> context) at the current time step; the function modifies the grob's <code>stencil</code>, using the <code>staff-position</code> property to replace some pitches with markup.


See the [https://lilypond.org/doc/v2.24/Documentation/extending/running-a-function-on-all-layout-objects ‘Extending’ manual] for more information.
See the [{{LILYSTABLEDOC}}/extending/running-a-function-on-all-layout-objects ‘Extending’ manual] for more information.


<lilypond version="2.24">
<lilypond version="2.24">