]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/move-specific-text.ly
* input/mutopia/W.A.Mozart/mozart-hrn-3.ly: Mozart died in 1791
[lilypond.git] / input / test / move-specific-text.ly
index 91fb1e2f0da205c286dbd658483c0c50f5af4b70..6e08655a10e50388e4202655c393337edef4d46a 100644 (file)
@@ -1,16 +1,16 @@
 
-\version "2.1.7"
+\version "2.1.30"
 % possible rename to scheme- or something like that.  -gp
 \header { texidoc = "@cindex Scheme Move Text
-You can move objects around with scheme.  This example shows how to
-move text around. " }
+Objects, like text, can be moved around by using some Scheme code.
+" }
 
 #(define (make-text-checker text)
-   (lambda (grob) (equal? text (ly:get-grob-property grob 'text))))
+   (lambda (grob) (equal? text (ly:grob-property grob 'text))))
 
 \score {
   \notes\relative c''' {
-    \property Voice.Stem \set #'direction = #1
+    \override Stem  #'direction = #1
     \applyoutput #(outputproperty-compatibility (make-text-checker (make-simple-markup "m.d."))
       'extra-offset '(-3.5 . -4.5))
     a^2^"m.d."