]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/compound-time.ly
more conversion for dash-change.
[lilypond.git] / input / test / compound-time.ly
index 43366dc6b06b5558208a805558ed12fd5bf09e30..d7ce8b6d3fc8080740af08ffb503b18956551246 100644 (file)
@@ -1,15 +1,16 @@
 
-\version "2.5.20"
+\version "2.7.32"
 \header {
 texidoc = "@cindex compound time
 @cindex plus
 
-Compound time signatures can be printed.
+Compound time signatures can be printed.  Automatic beaming works in
+compound time.
 
 "
 }
 
-\layout{raggedright = ##t}
+\layout{ragged-right = ##t}
 
 #(define (compound-time grob one two num)
   (interpret-markup
@@ -19,20 +20,13 @@ Compound time signatures can be printed.
       (font-family . number)))
    (markup
     #:line ( #:column (one num) #:lower 1 "+" #:column (two num)))))
-%    ;;  #:line ( #:column (one num) #:lower 1 "+" #:column (two num)))))
 
 \relative {
   %% compound time signature hack
   \time 5/8
-  \override Staff.TimeSignature #'print-function
+  \override Staff.TimeSignature  #'stencil
   = #(lambda (grob) (compound-time grob "2" "3" "8"))
-
-  %% manual beaming, auto beam engraver cannot handle compound time,
-  %% it extends 2/8 pattern to 4/8, which does not work.
-
-  %% Hmm, why don't we just junk the modulo functionality, and
-  %% write-out all endings explicitely, we get compound time handling
-  %% for free?
-  
-  c4 c8[ c c]
+  #(override-auto-beam-setting '(end 1 8 5 8) 1 4)
+  c8 c c8 c c
 }
+