]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tuplet-nest.ly
* lily/stem.cc (get_default_stem_end_position): use beam_count - 1
[lilypond.git] / input / regression / tuplet-nest.ly
1 \version "1.5.68"
2 \header {
3   texidoc="Manual hack for nested tuplets, move outer tuplet up."
4 }
5
6 #(define (make-text-checker-once text)
7   (lambda (grob) (and text-checker-once
8                       (if (equal? text (ly-get-grob-property grob 'text))
9                           (begin
10                             (set! text-checker-once #f) #t)
11                           #f))))
12
13 #(define text-checker-once #t)
14
15 \score {
16   \notes\relative c'' {
17
18     \property Voice.tupletNumberFormatFunction = #fraction-tuplet-formatter
19
20     \outputproperty #(make-text-checker-once "2:3")
21       #'extra-offset = #'(0 . 1.5)
22     \times 2/3 {
23       \times 2/3 {
24         a a a
25       }
26       \times 3/5 {
27         a a a a a
28       }
29     }
30   }
31   \paper { linewidth = -1. }
32 }