]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/proportional-strict-notespacing.ly
resolve merge
[lilypond.git] / Documentation / snippets / proportional-strict-notespacing.ly
diff --git a/Documentation/snippets/proportional-strict-notespacing.ly b/Documentation/snippets/proportional-strict-notespacing.ly
new file mode 100644 (file)
index 0000000..0d09688
--- /dev/null
@@ -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 = "tweaks-and-overrides, spacing"
+
+  texidoc = "
+If @code{strict-note-spacing} is set spacing of notes is not influenced
+by bars or clefs within a system. Rather, they are placed just before
+the note that occurs at the same time. This may cause collisions.
+
+"
+  doctitle = "Proportional strict notespacing"
+} % begin verbatim
+
+\relative c'' <<
+  \override Score.SpacingSpanner #'strict-note-spacing = ##t
+  \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+  \new Staff {
+    c8[ c \clef alto c c \grace { d16 } c8 c] c4
+    c2 \grace { c16[ c16] } c2
+  }
+  \new Staff {
+    c2 \times 2/3 { c8 \clef bass cis,, c } c4
+    c1
+  }
+>>
+