Proportional strict notespacing: Difference between revisions

m New category
mNo edit summary
 
Line 1: Line 1:
If <code>strict-note-spacing</code> 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.
If the <code>strict-note-spacing</code> property of the <code>SpacingSpanner</code> grob is set to <code>#t</code>, 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.


<lilypond version="2.24">
<lilypond version="2.24">
Line 5: Line 5:
   \override Score.SpacingSpanner.strict-note-spacing = ##t  
   \override Score.SpacingSpanner.strict-note-spacing = ##t  
   \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
   \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
   \new Staff {
   \new Staff {
     c8[ c \clef alto c c \grace { d16 } c8 c] c4
     c8[ c \clef alto c c \grace { d16 } c8 c] c4
Line 16: Line 17:
</lilypond>
</lilypond>


[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]
[[Category:Snippet]]