]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tuplet-bracket-visibility.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / tuplet-bracket-visibility.ly
index 2bc60f1da82849536b552b48b714068244e4857a..e3ad513b173af5718eaaa20113b96f60325bd971 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.13.16"
+\version "2.19.21"
 
 \header {
   texidoc = "The default behavior of tuplet-bracket visibility is to print a bracket
@@ -14,26 +14,26 @@ unless there is a beam of the same length as the tuplet.  Overriding
 @code{#f} (never print a bracket)
 
 @item
-@code{#'if-no-beam} (only print a bracket if there is no beam)
+@code{'if-no-beam} (only print a bracket if there is no beam)
 
 @end itemize
 "
 }
 
-music = \relative c'' {
-  \times 2/3 { c16[ d e } f8]
-  \times 2/3 { c8 d e }
-  \times 2/3 { c4 d e }
+music = \relative {
+  \tuplet 3/2 { c''16[ d e } f8]
+  \tuplet 3/2 { c8 d e }
+  \tuplet 3/2 { c4 d e }
 }
 
 \new Voice {
   \relative c' {
     << \music s4^"default" >>
-    \override TupletBracket #'bracket-visibility = #'if-no-beam
+    \override TupletBracket.bracket-visibility = #'if-no-beam
     << \music s4^"'if-no-beam" >>
-    \override TupletBracket #'bracket-visibility = ##t
+    \override TupletBracket.bracket-visibility = ##t
     << \music s4^"#t" >>
-    \override TupletBracket #'bracket-visibility = ##f
+    \override TupletBracket.bracket-visibility = ##f
     << \music s4^"#f" >>
   }
 }