Suppressing warnings for clashing note columns: Difference between revisions
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 1: | Line 1: | ||
If notes from two voices with stems in the same direction are placed at the same position, and both voices have no shift or the same shift specified, the error message <code>warning: ignoring too many clashing note columns</code> will appear when compiling the LilyPond file. This message can be suppressed by setting the <code>'ignore-collision</code> property of the <code>NoteColumn</code> object to <code>#t</code>. Please note that this does not just suppress warnings but stops LilyPond trying to resolve collisions at all and so may have unintended results unless used with care. | If notes from two voices with stems in the same direction are placed at the same position, and both voices have no shift or the same shift specified, the error message <code>warning: ignoring too many clashing note columns</code> will appear when compiling the LilyPond file. This message can be suppressed by setting the <code>'ignore-collision</code> property of the <code>NoteColumn</code> object to <code>#t</code>. Please note that this does not just suppress warnings but stops LilyPond trying to resolve collisions at all and so may have unintended results unless used with care. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
ignore = \override NoteColumn.ignore-collision = ##t | ignore = \override NoteColumn.ignore-collision = ##t | ||