X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fballoon.ly;h=65264d48332cf1f00dc85fa391886f7b83552065;hb=b78bb86787d1dd746d9dc16d1fe1ec6ba0d685eb;hp=e63bc0176f0462608175e54e1ccfc6058fbc0fdf;hpb=eba82770802a246bca4afab7eab1f78e84785214;p=lilypond.git diff --git a/input/regression/balloon.ly b/input/regression/balloon.ly index e63bc0176f..65264d4833 100644 --- a/input/regression/balloon.ly +++ b/input/regression/balloon.ly @@ -1,32 +1,33 @@ \header { - texidoc = "With balloon texts, objects in the output can be marked, + + texidoc = "With balloon texts, objects in the output can be marked, with lines and explanatory text added." - } -\version "2.1.26" - -\score { - \notes { - - \relative c' { - - %% by hand: - \once\override Stem #'print-function = #Balloon_interface::print - \once\override Stem #'balloon-original-callback = #Stem::print - \once\override Stem #'balloon-text = #"I'm a stem" - \once\override Stem #'balloon-text-offset = #'(3 . 4) - \once\override Stem #'balloon-text-props - = #'((font-family . roman)) + +} +\version "2.17.6" +\layout{ ragged-right = ##t } - %% use predefd function. - \context Voice \applyoutput #(add-balloon-text - 'NoteHead "heads, or tails?" - '(0 . -3)) +\score{ + \new Voice \with {\consists "Balloon_engraver" } + { + \relative c' { + \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" } + 8 + \balloonLengthOn + \balloonGrobText #'Rest #'(-1 . -2) \markup{ "Rest" } + r + \balloonLengthOff + \balloonGrobText #'Script #'(-1 . -1) \markup{ "Accent" } + c4-> + } + } - - c8 - } + \layout { + \context { + \Score + \override PaperColumn.keep-inside-line = ##f + } } - \paper{ raggedright = ##t } }