]> git.donarmstrong.com Git - lilypond.git/blob - input/test/compound-time.ly
Merge with master
[lilypond.git] / input / test / compound-time.ly
1
2 \version "2.10.0"
3 \header {
4 texidoc = "@cindex compound time
5 @cindex plus
6
7 Compound time signatures can be printed.  Automatic beaming works in
8 compound time.
9
10 "
11 }
12
13 \layout{ragged-right = ##t}
14
15 #(define (compound-time one two num)
16   (markup #:override '(baseline-skip . 0) #:number 
17    (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num))))))
18
19
20 \relative {
21   %% compound time signature hack
22   \time 5/8
23   \override Staff.TimeSignature #'stencil = #ly:text-interface::print
24   \override Staff.TimeSignature #'text = #(compound-time "2" "3" "8" )
25   #(override-auto-beam-setting '(end 1 8 5 8) 1 4)
26   c8 c c8 c c
27 }
28