int(0) array(11) { [0]=> string(44) "Running as unit: run-p323669-i323670.service" [1]=> string(60) "Changing working directory to: `/tmp/lilywiki-tmp486cca5a70'" [2]=> string(48) "Processing `/tmp/lilywiki-tmp486cca5a70/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" } Printing tuplet brackets on the note head side - LilyPond wiki Jump to content

Printing tuplet brackets on the note head side

From LilyPond wiki

Whichever option you choose for controlling the tuplet bracket visibility, it will show or hide the tuplet bracket irrespectively of tuplet bracket placement (stem side or note head side). However, when placing the tuplet bracket on the note head side some authors recommend always printing the tuplet bracket. The option visible-over-note-heads can be used to achieve this.

\version "2.24.0"

music = \relative c'' {
  \tupletNeutral \tuplet 3/2 { c16[ d e } f8]
  \tupletUp \tuplet 3/2 { c8 d e }
}

\new Voice {
  \relative c' {
    \time 2/4
    \override TupletBracket.visible-over-note-heads = ##t
    \override Score.TextMark.non-musical = ##f
    { \textMark \markup "default" \music }
    \override TupletBracket.bracket-visibility = #'if-no-beam
    { \textMark \markup \typewriter "'if-no-beam" \music }
  }
}