]> git.donarmstrong.com Git - lilypond.git/blob - input/test/different-time-signatures.ly
release: 1.3.142
[lilypond.git] / input / test / different-time-signatures.ly
1
2
3 % barline spacing  disrupts visual rhythm.
4
5 #(define nbal (acons '("Staff_bar" "begin-of-note") '(minimum_space 0.0) default-break-align-space-alist))
6
7 \score{
8     \notes \relative c'  <
9         \context Staff= AS {
10             \property Staff.timeSignatureFraction = #'(3 . 4) 
11             c4 c c | c c c |
12         }
13         \context Staff=BS {
14             \property Staff.timeSignatureFraction = #'(2  . 4)      
15             c4 c | c c | c c
16         }
17         % TODO: make c4. here align  with c4 there.
18         \context Staff =CS {
19             \property Staff.timeSignatureFraction = #'(3 . 8) 
20             c4. c8 c c   c4. c8 c c
21         }
22     >
23
24     \paper{
25         linewidth = -1.0\cm;
26         \translator{
27             \ScoreContext
28             BreakAlignment \override #'space-alist = #nbal
29             \remove Timing_engraver;
30         }
31         \translator{
32             \StaffContext
33             \consists Timing_engraver;
34         }
35     }
36 }