X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fsuppressing-warnings-for-clashing-note-columns.ly;h=40b6b8678f560bc3a3322a19f61459d63e017bbd;hb=cf11a6cd3300b5ed7e6cbe8c461adebc3bab1618;hp=3d114acd627b8b44f982c1b9ed35f73c292ffed2;hpb=69f0ec479a6ade46d0a227755bb02562112c6743;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 index 3d114acd62..40b6b8678f 100644 --- a/Documentation/snippets/suppressing-warnings-for-clashing-note-columns.ly +++ b/Documentation/snippets/suppressing-warnings-for-clashing-note-columns.ly @@ -1,6 +1,10 @@ -%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.13.1" +\version "2.18.0" \header { lsrtags = "simultaneous-notes, tweaks-and-overrides" @@ -8,22 +12,23 @@ 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 \"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}. +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}. Please note that +this does not just suppress warnings but stops LilyPond trying to +resolve collisions at all and so may have unintended results unless +used with care. " doctitle = "Suppressing warnings for clashing note columns" } % begin verbatim -ignore = \override NoteColumn #'ignore-collision = ##t +ignore = \override NoteColumn.ignore-collision = ##t \relative c' { - << - \ignore - { \stemDown f2 g } - \\ - { c2 c, } + \new Staff << + \new Voice{ \ignore \stemDown f2 g } + \new Voice{ c2 \stemDown c, } >> }