X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fballoon.ly;h=2acc43ff15e2b877f8a8add1ef9141ab9f9598ec;hb=c6933c1cf38de6dffbbcf7707be633b224891bd5;hp=f1f167f5d9fdf60852a3c1b56c7c4ee581d6399f;hpb=ecaf73bb03e974018c17e3051b3ac3a805dd1653;p=lilypond.git diff --git a/input/regression/balloon.ly b/input/regression/balloon.ly index f1f167f5d9..2acc43ff15 100644 --- a/input/regression/balloon.ly +++ b/input/regression/balloon.ly @@ -1,32 +1,27 @@ \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.28" - -\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.14.0" +\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 + } + } - - c8 - } + \layout { + \context { + \Score + \override PaperColumn #'keep-inside-line = ##f + } } - \paper{ raggedright = ##t } }