Stacking rules for dense chords

For dense chords with six or more accidentals within the span of an octave, accidentals are stacked as follows:

  1. The highest accidental is inserted in the first column to the left of the notes.

  2. The next accidental on a note that is located at least a seventh below the highest note is stacked into the same column. This continues with the remaining notes until no more accidentals fit into the first column.

  3. Steps 1 and 2 are repeated for the following columns until all accidentals are stacked.

  4. The columns are grouped, interspersed, and re-stacked. This results in a stack with alternating accidentals, reminiscent of the way accidentals are arranged in a key signature.