]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/different-time-signatures.ly
release: 1.3.142
[lilypond.git] / input / test / different-time-signatures.ly
index 954268be9cc767f5c17b9b7b124bf3bf6ca98eaa..b4a04ae5e209b0b5e88ff7025d635b07ef94babc 100644 (file)
@@ -2,22 +2,21 @@
 
 % barline spacing  disrupts visual rhythm.
 
-#(set! space-alist (assoc-set! space-alist '("Staff_bar" "begin-of-note") '(minimum_space 0.0)))
-#(set! space-alist (assoc-set! space-alist '("Staff_bar") '(minimum_space 0.0)))
+#(define nbal (acons '("Staff_bar" "begin-of-note") '(minimum_space 0.0) default-break-align-space-alist))
 
 \score{
     \notes \relative c'  <
        \context Staff= AS {
-           \time 3/4;
+           \property Staff.timeSignatureFraction = #'(3 . 4) 
            c4 c c | c c c |
        }
        \context Staff=BS {
-           \time 2/4;
+           \property Staff.timeSignatureFraction = #'(2  . 4)      
            c4 c | c c | c c
        }
        % TODO: make c4. here align  with c4 there.
        \context Staff =CS {
-           \time 3/8;
+           \property Staff.timeSignatureFraction = #'(3 . 8) 
            c4. c8 c c   c4. c8 c c
        }
     >
@@ -26,6 +25,7 @@
        linewidth = -1.0\cm;
        \translator{
            \ScoreContext
+           BreakAlignment \override #'space-alist = #nbal
            \remove Timing_engraver;
        }
        \translator{