I'm an outside party here, but I think you would find some answers by investigating LilyPond's definition of "music object" further; it sounds like you're being tripped up by that.
- Nikolai On Tue, Jan 29, 2019, 15:07 Pierre Perol-Schneider < [email protected] wrote: > What I mean is that the manual does not says "music object". > What I mean is that "\tweak color #red \parenthesize c' " has the same > output than "\parenthesize \tweak color #red c'" -- weired to me. > What I mean is that in "c'-\tweak color #red -1", #1 is not a musical > object according to my eyes, it is a music function setting the fingering > property on the music > object. > So, another basic question: is there any technical limit so that \tweak > could be applied to \parenthesized ? > > > Le mar. 29 janv. 2019 à 20:33, David Kastrup <[email protected]> a écrit : > > > Pierre Perol-Schneider <[email protected]> writes: > > > > >> Le mar. 29 janv. 2019 à 17:57, David Kastrup <[email protected]> a écrit: > > >> > > >>> Pierre Perol-Schneider <[email protected]> writes: > > >>> > > >>> > Hi Bug Squad, > > >>> > > > >>> > %% Snippet: > > >>> > \version "2.19.82" > > >>> > { > > >>> > \tweak color #red \parenthesize c' > > >>> > %vs: > > >>> > \tweak ParenthesesItem.color #red \parenthesize c' > > >>> > } > > >>> > %% > > >>> > > >>> So? The color also does not affect Stem, LedgerLine or Flag by > > >>> default. Why should it affect the parentheses? > > >> > > > > > > So? Basically the manual says: " The \tweak command applies to the > music > > > object that immediately follows value in the music stream." > > > Considering your answer, do you mean that " \tweak color #red > > \parenthesize" > > > does not follow the value? > > > > It doesn't. It precedes the value which is c' . > > > > > Do you mean that parenthizes are no object? > > > > The music object is the c' . It is parenthesized, sure. But it also is > > stemmed. The parenthesization is not a music object of its own, it is a > > music function setting the parenthesize property on the following music > > object. Which results in the following music object additionally > > creating a ParenthesizeItem (or whatever it was called). > > > > > I've already asked myself about that before sending the bug report. > > > Your answer does not make any clarification, sorry. > > > > -- > > David Kastrup > > > _______________________________________________ > bug-lilypond mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-lilypond > _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
