lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doc: Tuplet-bracket


From: Mats Bengtsson
Subject: Re: Doc: Tuplet-bracket
Date: Mon, 19 Nov 2007 16:29:25 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]