]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/proportional-strict-notespacing.ly
Docs: reorganize documentation directory structure
[lilypond.git] / Documentation / snippets / proportional-strict-notespacing.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "tweaks-and-overrides, spacing"
7
8   texidoc = "
9 If @code{strict-note-spacing} is set spacing of notes is not influenced
10 by bars or clefs within a system. Rather, they are placed just before
11 the note that occurs at the same time. This may cause collisions. 
12
13 "
14   doctitle = "Proportional strict notespacing"
15 } % begin verbatim
16
17 \paper {
18   ragged-right = ##t
19 }
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 \times 2/3 { c8 \clef bass cis,, c } c4
30     c1
31   }
32 >>
33