Graham Percival wrote:
Rune Zedeler wrote:
The documentation says that a bracket is "optionally" added to the tuplet, but it does not specify how. For some reason it is not documented in the TupletBracket internal documentation either (?)
It is indeed documented in the TupletBracket internal documentation, just
click on the link to "tuplet-bracket-interface". Note that the properties listed at the main page for TupletBracket in the internal documentation only contains the properties that are set by default and that you have to browse through the
interfaces to get an exhaustive list.

For this particular property, this documentation is of course far too well hidden.
Also, as is commented in the source code, the semantics of this property is
really ugly, where keeping the property unset is almost (but not exactly)
equivalent to setting it to if-no-beam, see the following example.

\relative c'{
\times 2/3 {c16^"default" [ d e } f8] \times 2/3 {c8 d e }
\override TupletBracket #'bracket-visibility = #'if-no-beam
\times 2/3 {c16^"if-no-beam" [ d e } f8] \times 2/3 {c8 d e }
\override TupletBracket #'bracket-visibility = ##t
\times 2/3 {c16^"#t" [ d e } f8] \times 2/3 {c8 d e }
\override TupletBracket #'bracket-visibility = ##f
\times 2/3 {c16^"#f" [ d e } f8] \times 2/3 {c8 d e }
}

   /Mats


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to