X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fsuppressing-warnings-for-clashing-note-columns.ly;fp=Documentation%2Fsnippets%2Fsuppressing-warnings-for-clashing-note-columns.ly;h=c73ff7a3050e3ab9a6bf3e6d0973873e67fe5bda;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/Documentation/snippets/suppressing-warnings-for-clashing-note-columns.ly b/Documentation/snippets/suppressing-warnings-for-clashing-note-columns.ly new file mode 100644 index 0000000000..c73ff7a305 --- /dev/null +++ b/Documentation/snippets/suppressing-warnings-for-clashing-note-columns.ly @@ -0,0 +1,33 @@ +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.dsi.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.14.0" + +\header { + lsrtags = "simultaneous-notes, tweaks-and-overrides" + + texidoc = " +If notes from two voices with stems in the same direction are placed at +the same position, and both voices have no shift or the same shift +specified, the error message @samp{warning: ignoring too many clashing +note columns} will appear when compiling the LilyPond file. This +message can be suppressed by setting the @code{'ignore-collision} +property of the @code{NoteColumn} object to @code{#t}. + +" + doctitle = "Suppressing warnings for clashing note columns" +} % begin verbatim + +ignore = \override NoteColumn #'ignore-collision = ##t + +\relative c' { + << + \ignore + { \stemDown f2 g } + \\ + { c2 c, } + >> +}