]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/proportional-strict-notespacing.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / Documentation / snippets / proportional-strict-notespacing.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.12.2"
5
6 \header {
7   lsrtags = "tweaks-and-overrides, spacing"
8
9   texidoc = "
10 If @code{strict-note-spacing} is set spacing of notes is not influenced
11 by bars or clefs within a system. Rather, they are placed just before
12 the note that occurs at the same time. This may cause collisions.
13
14 "
15   doctitle = "Proportional strict notespacing"
16 } % begin verbatim
17
18 \relative c'' <<
19   \override Score.SpacingSpanner #'strict-note-spacing = ##t
20   \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
21   \new Staff {
22     c8[ c \clef alto c c \grace { d16 } c8 c] c4
23     c2 \grace { c16[ c16] } c2
24   }
25   \new Staff {
26     c2 \times 2/3 { c8 \clef bass cis,, c } c4
27     c1
28   }
29 >>
30