Suppressing warnings for clashing note columns: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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 | 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 “warning: ignoring too many clashing note columns” appears 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"> | ||
| Line 12: | Line 12: | ||
</lilypond> | </lilypond> | ||
[[Category:Simultaneous notes]] | [[Category:Simultaneous notes]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||