]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/suppressing-warnings-for-clashing-note-columns.ly
ab0559dfbf24c92d790388c0034a7f871464ae36
[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.2"
8
9 \header {
10   lsrtags = "tweaks-and-overrides, simultaneous-notes"
11
12 %% Translation of GIT committish: 28097cf54698db364afeb75658e4c8e0e0ccd716
13   texidoc = "
14 Lorsque des notes simultanées appartenant à des voix différentes ont la
15 même orientation de hampe et qu'aucun décalage n'a été appliqué ou qu'il
16 est identique, LilyPond émettra l'avertissement « @emph{ignoring too
17 many clashing note columns} » (trop d'empilements de notes se
18 chevauchent. On fera au mieux).  On peut s'exonérer de cet avertissement
19 en activant la propriété @code{'ignore-collision} de l'objet
20 @code{NoteColumn}.  Notez bien que ceci n'aura pas pour seul effet de
21 supprimer les avertissement ; les routines de résolution de collisions
22 sont par la même occasion déactivées, ce qui peut engendrer certains
23 désagréments si vous en abusez.
24
25 "
26   doctitlefr = "Suppression des avertissements de chevauchement"
27
28   texidoc = "
29 If notes from two voices with stems in the same direction are placed at
30 the same position, and both voices have no shift or the same shift
31 specified, the error message @samp{warning: ignoring too many clashing
32 note columns} will appear when compiling the LilyPond file.  This
33 message can be suppressed by setting the @code{'ignore-collision}
34 property of the @code{NoteColumn} object to @code{#t}. Please note that
35 this does not just suppress warnings  but stops LilyPond trying to
36 resolve collisions at all and so may have  unintended results unless
37 used with care.
38
39 "
40   doctitle = "Suppressing warnings for clashing note columns"
41 } % begin verbatim
42
43
44 ignore = \override NoteColumn #'ignore-collision = ##t
45
46 \relative c' {
47   <<
48     \ignore
49     { \stemDown f2 g }
50     \\
51     { c2 c, }
52   >>
53 }