⌂ Force unparenthesized accidentals
If you want to force an accidental in all accidental styles, you will find situations where LilyPond places a (parenthesized) cautionary accidental instead. Here are three methods how to remove the parenthesis from selected cautionary accidentals, based on an example like this: \partial 4 cis''4( | c'')
- Precede the pitch with a function call to set a before-line-breaking procedure. Since version 2.16.0 this works both within and outside of a chord definition.
- Define a before-line-breaking procedure for all cautionary accidentals, which removes
the parenthesis only if the pitch got the ‘force-accidental’ flag by adding the ‘!’.
- Add an engraver that checks the force-accidental flag and then removes the parenthesis from the cautionary accidentals.