]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/proportional-strict-notespacing.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / proportional-strict-notespacing.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.17.6"
8
9 \header {
10   lsrtags = "spacing, tweaks-and-overrides"
11
12   texidoc = "
13 If @code{strict-note-spacing} is set spacing of notes is not influenced
14 by bars or clefs within a system. Rather, they are placed just before
15 the note that occurs at the same time. This may cause collisions.
16
17 "
18   doctitle = "Proportional strict notespacing"
19 } % begin verbatim
20
21
22 \relative c'' <<
23   \override Score.SpacingSpanner.strict-note-spacing = ##t
24   \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
25   \new Staff {
26     c8[ c \clef alto c c \grace { d16 } c8 c] c4
27     c2 \grace { c16[ c16] } c2
28   }
29   \new Staff {
30     c2 \times 2/3 { c8 \clef bass cis,, c } c4
31     c1
32   }
33 >>