]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/balloon.ly
Doc-es: various updates.
[lilypond.git] / input / regression / balloon.ly
index cf06c5ab86717b4d7cb77e0b772f8a18fcf81ab2..65264d48332cf1f00dc85fa391886f7b83552065 100644 (file)
@@ -1,25 +1,33 @@
 
 \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"
+  
+}
+\version "2.17.6"
 
-\score  {
- \notes {
-     
-   \relative c'  {
+\layout{ ragged-right = ##t }
 
-       \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))
+\score{
+  \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
+      \balloonLengthOn
+      \balloonGrobText #'Rest #'(-1 . -2) \markup{ "Rest" }
+      r
+      \balloonLengthOff
+      \balloonGrobText #'Script #'(-1 . -1) \markup{ "Accent" }
+      c4->
+    }
+  }
 
-       
-       c8
-       }
+  \layout {
+    \context {
+      \Score
+      \override PaperColumn.keep-inside-line = ##f
+    }
   }
- \paper{ raggedright = ##t }
 }