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