Using brackets instead of parentheses for \parenthesize
…only on the first repeat). One can use \parenthesize to put parentheses around the notehead. However, a … …snippet shows how to tweak the settings for \parenthesize to use square brackets instead of parentheses. A function \bracketify is defined, which works similar to parenthesize.
…to be parenthesized.") #{ \tweak Parentheses.stencils #bracket-stencils \parenthesize $arg #}) \relative c'' { \bracketify c4 \bracketify g4 <…