]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/balloon.ly
Merge branch 'cvs-head' of git+ssh://repo.or.cz/srv/git/lilypond
[lilypond.git] / input / regression / balloon.ly
index 591dd1a00bc618b4f5ec0ddb1a148b38e23e5ead..8f1ab2b8e9aace3796e1dae716cfcf87ad1e5d56 100644 (file)
@@ -1,32 +1,31 @@
 
 \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.22"
+}
+\version "2.9.6"
+
+\layout{ ragged-right = ##t }
 
-\score  {
- \notes {
-     
-   \relative c'  {
+{
+  
+  \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))
+    %% by hand:
+    \once\override Stem #'stencil = #ly:balloon-interface::print
+    \once\override Stem #'original-stencil = #ly: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
-                                    'NoteHead "heads, or tails?"
-                                    '(0 . -3))
+    %% use predefd function. 
+    \applyOutput #'Voice #(add-balloon-text
+                                 'NoteHead "heads, or tails?"
+                                 '(0 . -3))
 
-      
-       c8
-       }
+    
+    c8
   }
- \paper{ raggedright = ##t }
 }