]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/suppressing-warnings-for-clashing-note-columns.ly
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[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.4"
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 \"warning: ignoring too many clashing note
13 columns\" will appear when compiling the LilyPond file.  This message
14 can be suppressed by setting the @code{'ignore-collision} property of
15 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 }