]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tuplet-broken.ly
Keep a staff alive with multiple layers
[lilypond.git] / input / regression / tuplet-broken.ly
index 43f7ca4e1542a77ae37aad07db5f9fce5414b69b..6bb811ab5ae3a3b4e222084e608085ca2f3be777 100644 (file)
@@ -1,29 +1,34 @@
 
 \header
 {
-  texidoc = "Broken tuplets are adorned with little arrows."
+
+  texidoc = "Broken tuplets are adorned with little arrows. The arrows
+  come from the @code{edge-text} property, and thus be replaced with
+  larger glyphs or other text. "
+
 }
-\version "2.7.4"
+
+\version "2.19.21"
 
 \paper {
-  raggedright = ##t  
+  ragged-right = ##t  
   indent = 0.0
 }
 
 
-\relative c'' {
-  \set tupletNumberFormatFunction = #fraction-tuplet-formatter
+\relative {
+  \override TupletNumber.text = #tuplet-number::calc-fraction-text
 
-  \override TupletBracket #'edge-text = #(cons
+  \override TupletBracket.edge-text = #(cons
                                          (markup #:fontsize 6
-                                            #:arrow-head 0 -1 #f)
-                                         (markup #:arrow-head 0 1 #f))
-  \times 11/19 {
-    c4 c4 c4 c4
-    \bar "empty" \break
+                                            #:arrow-head X LEFT #f)
+                                         (markup #:arrow-head X RIGHT #f))
+  \tuplet 19/11 {
+    c''4 c4 c4 c4
+    \bar "-" \break
     c4 c4 c4 c4
     c4 c4 c4 c4
-    \bar "empty" \break
+    \bar "-" \break
     c4 c4 c4 c4
     c4 c4 c4 
   }