]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/proportional-strict-notespacing.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / proportional-strict-notespacing.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.18.0"
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 \relative c'' <<
22   \override Score.SpacingSpanner.strict-note-spacing = ##t
23   \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
24   \new Staff {
25     c8[ c \clef alto c c \grace { d16 } c8 c] c4
26     c2 \grace { c16[ c16] } c2
27   }
28   \new Staff {
29     c2 \tuplet 3/2 { c8 \clef bass cis,, c } c4
30     c1
31   }
32 >>