Avoiding collision in single staff polyphony: Difference between revisions

Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
When you typeset some polyphonic music on a single staff, especially when you have different dotted note heads, you sometimes meet collision between note heads, and don't want them to merge automatically. Using <code>\override NoteColumn #'force-hshift = #X.Y</code> allows you to separate these colliding note heads, inserting the appropriate amount of blank space (X.Y) between them.
When you typeset some polyphonic music on a single staff, especially when you have different dotted note heads, you sometimes meet collision between note heads, and don't want them to merge automatically. Using <code>\override NoteColumn #'force-hshift = #X.Y</code> allows you to separate these colliding note heads, inserting the appropriate amount of blank space (X.Y) between them.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=618
%% http://lsr.di.unimi.it/LSR/Item?id=618


Line 22: Line 22:
[[Category:Simultaneous notes]]
[[Category:Simultaneous notes]]
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Snippet]]