]> git.donarmstrong.com Git - lilypond.git/blob - input/new/suppressing-warnings-for-clashing-note-columns.ly
77409ba82bce6c61108ee612e69f56fa7c374035
[lilypond.git] / input / new / suppressing-warnings-for-clashing-note-columns.ly
1 \version "2.11.49"
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   \ignore
20   { \stemDown f2 g } \\
21   { c2 c, }
22 >>