]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tuplet-properties.ly
Update documentation targets
[lilypond.git] / input / regression / tuplet-properties.ly
index 8b08311ff0da49a632211f29168ad3b427df5fe7..06681150f5861690ab2cf09b59309c439bfb3e28 100644 (file)
@@ -1,45 +1,44 @@
-#(ly:set-option 'old-relative)
+
 \header {
-texidoc = "Tuplet bracket formatting supports numerous options:
-NB should have no bracket, B should have bracket.
+  texidoc = "Tuplet bracket formatting supports numerous options,
+for instance, bracketed (B) and non-bracketed (NB).
 "
 }
-
-\version "1.9.1"
-
-
-\score { 
-    \context Voice \notes\relative c'' {
-
-       \times 2/3 { c'8 c,, c }
-       \times 2/3 { c'8 c'' c,, }
-
-       
-       \times 2/3 {  c8[^"NB" c c]  }
-       
-       \times 2/3 { c8^"B"  c[ c]  }
-       \times 2/4 { r8_"B"  c,[ c'] r8 }
-       
-       \property Voice.TupletBracket \override #'bracket-visibility = #'if-no-beam  
-       \times 2/3 {  c8[ c c]  }
-       
-       \property Voice.TupletBracket \override #'direction = #1
-       \property Voice.TupletBracket \override #'number-visibility = ##f
-       \times 2/3 { c8^""^""^"up, no digit"  c[ c]  }
-       \property Voice.TupletBracket \revert #'number-visibility
-
-       \property Voice.TupletBracket \override #'bracket-visibility = ##t
-       \property Voice.TupletBracket \override #'edge-height = #'(0.0 . 0.0)
-       \property Voice.TupletBracket \override #'shorten-pair = #'(2.0 . 2.0)
-       \times 4/6 { c_"shorter, no edges" f b  b f c}  
-       \property Voice.TupletBracket \revert #'edge-height
-       \property Voice.TupletBracket \revert #'shorten-pair
-       \property Voice.TupletBracket \override #'bracket-flare = #'(0.5 . 0.5)
-       \times 2/3 { b^""^""^"angled edges" b b }
-       \property Voice.TupletBracket \revert #'direction
-       \times 2/3 { b b b }
-
-    }
+
+
+\version "2.12.0"
+
+
+
+\context Voice \relative c'' {
+
+  \times 2/3 { c'8 c,, c }
+  \times 2/3 { c'8 c'' c,, }
+
+  
+  \times 2/3 {  c8[^"NB" c c]  }
+  
+  \times 2/3 { c8^"B"  c[ c]  }
+  \times 2/4 { r8_"B"  c,[ c'] r8 }
+  
+  \override TupletBracket  #'bracket-visibility = #'if-no-beam  
+  \times 2/3 {  c8[ c c]  }
+  
+  \tupletUp
+  \override TupletNumber #'transparent = ##t
+  \times 2/3 { c8^""^""^"up, no digit"  c[ c]  }
+  \revert TupletNumber #'transparent
+
+  \override TupletBracket  #'bracket-visibility = ##t
+  \override TupletBracket  #'shorten-pair = #'(2.0 . 2.0)
+  \times 4/6 { c_"shorter, no edges" f b  b f c}       
+  \revert TupletBracket #'edge-height
+  \revert TupletBracket #'shorten-pair
+  \override TupletBracket  #'bracket-flare = #'(0.5 . 0.5)
+  \times 2/3 { b^""^""^"angled edges" b b }
+  \tupletNeutral
+  \times 2/3 { b b b }
+
 }
 
+