X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fballoon.ly;h=a60f89e57c1854641ed7f57a283a9043de41bbbf;hb=7d496a828e54ae3ecd0007094e845f1e7c52c5ca;hp=5ac97a0881a1b68f433de70ef3a66b2dfb99f04c;hpb=34881554afeaf03a55a3a983caf9cfeaaf3ea060;p=lilypond.git diff --git a/input/regression/balloon.ly b/input/regression/balloon.ly index 5ac97a0881..a60f89e57c 100644 --- a/input/regression/balloon.ly +++ b/input/regression/balloon.ly @@ -1,32 +1,18 @@ \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.3.22" - -\score { - { - - \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.12.0" - %% use predefd function. - \context Voice \applyoutput #(add-balloon-text - 'NoteHead "heads, or tails?" - '(0 . -3)) +\layout{ ragged-right = ##t } - - c8 - } +\new Voice \with {\consists "Balloon_engraver" } +{ + \relative c' { + \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" } + 8 } - \layout{ raggedright = ##t } }