]> git.donarmstrong.com Git - lilypond.git/commitdiff
New snippet for input/new
authorPatrick McCarty <pnorcks@gmail.com>
Mon, 16 Jun 2008 21:46:36 +0000 (14:46 -0700)
committerGraham Percival <graham@percival-music.ca>
Tue, 17 Jun 2008 01:42:47 +0000 (18:42 -0700)
Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
input/new/suppressing-warnings-for-clashing-note-columns.ly [new file with mode: 0644]

diff --git a/input/new/suppressing-warnings-for-clashing-note-columns.ly b/input/new/suppressing-warnings-for-clashing-note-columns.ly
new file mode 100644 (file)
index 0000000..ed3b97f
--- /dev/null
@@ -0,0 +1,21 @@
+\version "2.11.49"
+\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 \"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"
+}
+
+ignore = \once \override NoteColumn #'ignore-collision = ##t
+
+\relative c' <<
+  { \oneVoice \stemDown f2\glissando \stemNeutral a } \\
+  { \oneVoice \ignore c2\glissando \ignore d, }
+>>