]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/balloon.ly
* scripts/convert-ly.py (datadir): add prefix switching hack to
[lilypond.git] / input / regression / balloon.ly
index 909321a6681831b2624953d00973b3131bef072e..c7f78c45cd34702c948948fbe333f99bba086e5d 100644 (file)
@@ -3,23 +3,25 @@
   texidoc = "With balloon texts, objects in the output can be marked,
 with lines and explanatory text added."
 }
-\version "2.6.0"
+\version "2.7.13"
+
+\layout{ raggedright = ##t }
 
 {
   
   \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
+    \once\override Stem #'stencil = #Balloon_interface::print
+    \once\override Stem #'original-stencil = #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))
 
 
     %% use predefd function. 
-    \context Voice \applyoutput #(add-balloon-text
+    \context Voice \applyOutput #(add-balloon-text
                                  'NoteHead "heads, or tails?"
                                  '(0 . -3))
 
@@ -27,4 +29,3 @@ with lines and explanatory text added."
     c8
   }
 }
-\layout{ raggedright = ##t }