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