]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/suppressing-warnings-for-clashing-note-columns.ly
Merge branch 'master' of carldsorensen@git.sv.gnu.org:/srv/git/lilypond
[lilypond.git] / input / lsr / suppressing-warnings-for-clashing-note-columns.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 %% Note: this file works from version 2.12.0
4 \version "2.13.1"
5 \header {
6   lsrtags = "simultaneous-notes,tweaks-and-overrides"
7   texidoc = "
8 If notes from two voices with stems in the same direction are
9 placed at the same position, and both voices have no shift or the
10 same shift specified, the error message \"warning: ignoring too
11 many clashing note columns\" will appear when compiling the
12 LilyPond file.  This message can be suppressed by setting the
13 @code{'ignore-collision} property of the @code{NoteColumn} object
14 to @code{#t}.
15 "
16   doctitle = "Suppressing warnings for clashing note columns"
17 } % begin verbatim
18
19
20 ignore = \override NoteColumn #'ignore-collision = ##t
21
22 \relative c' {
23   <<
24     \ignore
25     { \stemDown f2 g }
26     \\
27     { c2 c, }
28   >>
29 }