X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fballoon.ly;h=2acc43ff15e2b877f8a8add1ef9141ab9f9598ec;hb=2055f35c47a045a50a01ff4dba8524322cfc3b48;hp=909321a6681831b2624953d00973b3131bef072e;hpb=49428cfe64483bc706da930d4e24d16166d8e79a;p=lilypond.git diff --git a/input/regression/balloon.ly b/input/regression/balloon.ly index 909321a668..2acc43ff15 100644 --- a/input/regression/balloon.ly +++ b/input/regression/balloon.ly @@ -1,30 +1,27 @@ \header { + texidoc = "With balloon texts, objects in the output can be marked, with lines and explanatory text added." -} -\version "2.6.0" - -{ - \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 + } } } -\layout{ raggedright = ##t }