Werner LEMBERG <w...@gnu.org> writes: >> [...] As you can deduce from the existence of the \chordRepeats >> function, the substitution of q is not immediate. In contrast, >> \tweak takes effect immediately by modifying each of the notes in >> the chord. Since there are no notes yet in the "q" chord at the >> time \tweak is applied (they are copied later from the previous >> chord), \tweak does nothing. [...] >> >> On the other hand, in this case, there is little \tweak \could do >> that \override cannot do. The main purpose of \tweak is to be used >> if you want to modify only one of the notes in a chord, but without >> writing out each of the notes instead of putting "q", you don't make >> room for this. So, just use an \override here. > > Shouldn't this be documented in the NR? It's certainly not obvious to > Joe User...
It makes more sense if a) a tweak on an to-be-expanded chord (no non-post-event chord elements) is applied to the ChordEvent expression itself after all. b) when expanding a RepeatChord, tweaks get copied over to the created elements. That adds complexity to the implementation, but users usually could care less about the implementation. -- David Kastrup