Using markup for a staff's instrumentName

The instrumentName property of a staff or a staff group can take arbitrary markup. For example, rather than writing Percussion, you can also print two sticks to indicate percussion.

This example also shows how to combine several text markup objects and properly shift them before overlaying them.