]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/ambitus-mixed.ly
*** empty log message ***
[lilypond.git] / input / test / ambitus-mixed.ly
index 895002b34b6e5aa9d1e4011464f17afde5de6729..1fff67fb4f586dbef10575f9e87103fe1fcf1847 100644 (file)
@@ -1,27 +1,27 @@
 
 \header {
-texidoc = "Ambituses can be switched off or translated by using
-applyoutput.
+texidoc = "The showing of ambituses can be switched off or they can be
+shifted horizontally by using @code{applyoutput}.
 
 If you want to mix per-voice and per-staff ambituses, then you have to
-define you have to declare a new context type derived from the
-@code{Voice} context or @code{Staff} context.  The derived context
-must consist of the @code{Ambitus_engraver} and it must be accepted by
-a proper parent context, in the below example the @code{Staff} context
-or @code{Score} context, respectively.  The original context and the
-derived context can then be used in parallel in the same score. (this is not demonstrated in this file).
+define new context type derived from the @code{Voice} or @code{Staff} 
+context.  The derived context must contain the @code{Ambitus_engraver} 
+and it must be accepted by a proper parent context, which are respectively
+the @code{Staff} context or @code{Score} context in the example below. 
+The original context and the derived context can then be used in parallel 
+in the same score (not demonstrated in this file).
 "
 }
 
-\version "2.1.23"
+\version "2.1.28"
 
 #(define (kill-ambitus grob grob-context apply-context)
-  (if (memq 'ambitus-interface (ly:get-grob-property grob 'interfaces))
+  (if (memq 'ambitus-interface (ly:grob-property grob 'interfaces))
    (ly:grob-suicide grob)
   ))
 
 #(define ((shift-ambitus x) grob grob-context apply-context)
-  (if (memq 'ambitus-interface (ly:get-grob-property grob 'interfaces))
+  (if (memq 'ambitus-interface (ly:grob-property grob 'interfaces))
    (ly:grob-translate-axis! grob x X)
   ))