Bracketed accidentals: Difference between revisions

Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The code in this snippet defines a new command <code>\bracketAcc</code> to put brackets around an accidental. It also works in chords. Note that you have to use a trailing ‘<code>?</code>’ character after the note in the input to enforce a cautionary accidental.
The code in this snippet defines a new command <code>\bracketAcc</code> to put brackets around an accidental. It also works in chords. Note that you have to use a trailing ‘<code>?</code>’ character after the note in the input to enforce a cautionary accidental.


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
% Based on code from Abraham Lee
% Based on code from Abraham Lee
%
%
Line 40: Line 40:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Pitches]]
[[Category:Pitches]]
[[Category:Snippet]]