]> git.donarmstrong.com Git - lilypond.git/blob - input/new/suppressing-warnings-for-clashing-note-columns.ly
Merge master into nested-bookparts
[lilypond.git] / input / new / suppressing-warnings-for-clashing-note-columns.ly
1 \version "2.11.61"
2 \header {
3   lsrtags = "simultaneous-notes,tweaks-and-overrides"
4   texidoc = "
5 If notes from two voices with stems in the same direction are
6 placed at the same position, and both voices have no shift or the
7 same shift specified, the error message \"warning: ignoring too
8 many clashing note columns\" will appear when compiling the
9 LilyPond file.  This message can be suppressed by setting the
10 @code{'ignore-collision} property of the @code{NoteColumn} object
11 to @code{#t}.
12 "
13   doctitle = "Suppressing warnings for clashing note columns"
14 }
15
16 ignore = \override NoteColumn #'ignore-collision = ##t
17
18 \relative c' {
19   <<
20     \ignore
21     { \stemDown f2 g }
22     \\
23     { c2 c, }
24   >>
25 }