DescriptionIssue 3174: Implement \accidental markup and \pitched command for transposable accidental markups
This is a building block for creating pitched ornaments behaving
sensibly under transposition.
It would be arguable to define \pitched differently so that it works
only on ornaments and does the stacking itself, like
c^\pitched\trill des
and instead give the current version of \pitched a name like \pitchify.
As it stands, here are the implemented meanings:
\accidental markup:
Draw an accidental based on the @var{pitch} property of the causing
event. This is typically set in music using the (transposable)
@code{\pitched} command, like
@lilypond[verbatim,quote]
melody = \relative c'
{ \key c\major c2^\trill^\pitched des -\markup \accidental d! }
\new Staff { \melody }
\new Staff { \transpose c' e' \melody }
@end lilypond
\pitched music function: arguments pitch and music:
"Give @var{music} a pitch of @var{pitch}.
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 5
|