]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/balloon.ly
Update of texidoc strings in Contexts and Engravers LSR snippets
[lilypond.git] / input / regression / balloon.ly
index d18e2cf2ed74f3f84dfd6d29d53a15b13757a468..5cd81d09d9c51aa327fd01ff5bb32e6013ad622f 100644 (file)
@@ -1,31 +1,18 @@
 
 \header {
+  
   texidoc = "With balloon texts, objects in the output can be marked,
 with lines and explanatory text added."
+  
 }
-\version "2.7.32"
+\version "2.10.0"
 
 \layout{ ragged-right = ##t }
 
+\new Voice \with {\consists "Balloon_engraver" }
 {
-  
   \relative c'  {
-
-    %% 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))
-
-    
-    c8
+    \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" }
+    <c-\balloonText #'(-2 . -2) \markup { \simple #"hoi" }  >8
   }
 }