]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/balloon.ly
Merge branch 'stable'
[lilypond.git] / input / regression / balloon.ly
index cf06c5ab86717b4d7cb77e0b772f8a18fcf81ab2..a60f89e57c1854641ed7f57a283a9043de41bbbf 100644 (file)
@@ -1,25 +1,18 @@
 
 \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.11"
-
-\score  {
- \notes {
-     
-   \relative c'  {
+  
+}
+\version "2.12.0"
 
-       \once\property Voice.Stem \set #'molecule-callback = #Balloon_interface::brew_molecule
-       \once\property Voice.Stem \set #'original-callback = #Stem::brew_molecule
-       \once\property Voice.Stem \set #'balloon-text = #"I'm a stem"
-       \once\property Voice.Stem \set #'balloon-text-offset = #'(3 . 4)
-       \once\property Voice.Stem \set #'balloon-text-props
-         = #'((font-family .  roman))
+\layout{ ragged-right = ##t }
 
-       
-       c8
-       }
+\new Voice \with {\consists "Balloon_engraver" }
+{
+  \relative c'  {
+    \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" }
+    <c-\balloonText #'(-2 . -2) \markup { \simple #"hoi" }  >8
   }
- \paper{ raggedright = ##t }
 }