On Thu 22 Jan 2026 at 15:06:25 (-0500), Kieren MacMillan wrote:
> Hi David,
>
> > That's very neat! But might it be wise to have both \hintr and \hintl,
> > the latter being a hint printed to the left of the second semibreve.
>
> Like this?
>
> %%% SNIPPET BEGINS
> \version "2.25.32"
> \language "english"
>
> hintL =
> #(define-music-function
> (parser location mainNote hintNote)
> (ly:music? ly:music?)
> #{
> \grace
> { \once \omit Stem \tweak Parentheses.font-size -3 \tweak
> Parentheses.padding 0.1 \parenthesize #hintNote }
> { #mainNote }
> #})
> hintR =
> #(define-music-function
> (parser location mainNote hintNote)
> (ly:music? ly:music?)
> #{
> \afterGrace
> { #mainNote }
> { \once \omit Stem \tweak Parentheses.font-size -3 \tweak
> Parentheses.padding 0.1 \parenthesize #hintNote }
> #})
>
> {
> \key fs \major
> \hintR as'1 bf'4
> \key bf \major
> bf'1
> }
>
> {
> \key fs \major
> as'1
> \key bf \major
> \hintL bf'1 as'4
> }
> %%% SNIPPET ENDS
Very nice, thanks, and very useful!
Cheers,
David.