int(0) array(11) { [0]=> string(93) "Running as unit: run-p323453-i323454.service; invocation ID: ef962e1dde3847898440ad9b8308bb14" [1]=> string(60) "Changing working directory to: `/tmp/lilywiki-tmp0835cfdbd8'" [2]=> string(48) "Processing `/tmp/lilywiki-tmp0835cfdbd8/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" } Using alternative flag styles - LilyPond wiki Jump to content

Using alternative flag styles

From LilyPond wiki

Alternative styles of flag on eighth and shorter notes can be displayed by overriding the stencil property of Flag. Valid values are modern-straight-flag, old-straight-flag and flat-flag.

\version "2.24.0"

testnotes = {
  \autoBeamOff
  c8 d16 c32 d64 \acciaccatura { c8 } d64 r4
}

\score {
  \relative c' {
    \time 2/4
    \testnotes
  
    \override Flag.stencil = #modern-straight-flag
    \testnotes
  
    \override Flag.stencil = #old-straight-flag
    \testnotes
  
    \override Flag.stencil = #flat-flag
    \testnotes
  
    \revert Flag.stencil
    \testnotes
  }
  \layout {
    indent = 0
    \context {
      \Score
      \override NonMusicalPaperColumn.line-break-permission = ##f
    }
  }
}