int(0) array(11) { [0]=> string(44) "Running as unit: run-p323584-i323585.service" [1]=> string(60) "Changing working directory to: `/tmp/lilywiki-tmp5790193f4d'" [2]=> string(48) "Processing `/tmp/lilywiki-tmp5790193f4d/file.ly'" [3]=> string(10) "Parsing..." [4]=> string(21) "Interpreting music..." [5]=> string(34) "Preprocessing graphical objects..." [6]=> string(36) "Finding the ideal number of pages..." [7]=> string(26) "Fitting music on 1 page..." [8]=> string(18) "Drawing systems..." [9]=> string(30) "Layout output to `file.svg'..." [10]=> string(43) "Success: compilation successfully completed" } Moving dotted notes in polyphony - LilyPond wiki Jump to content

Moving dotted notes in polyphony

From LilyPond wiki

When a dotted note in the upper voice is moved to avoid a collision with a note in another voice, the default is to move the upper note to the right. This behaviour can be over-ridden by using the prefer-dotted-right property of NoteCollision.

\version "2.24.0"

\new Staff \relative c' <<
  { 
    f2. f4
    \override Staff.NoteCollision.prefer-dotted-right = ##f
    f2. f4
    \override Staff.NoteCollision.prefer-dotted-right = ##t
    f2. f4
  }
  \\
  { e4 e e e e e e e e e e e }
>>