Le 13/08/2022 à 01:02, Peter Chubb a écrit :
Hi,
        Sometimes in vocal+ukulele music I want to indicate that a
        particular chord uses an alternate fingering.  I'd like to add
        an asterisk and a footnote with fret diagram for these cases.
        But the obvious
            \chordmode { d^"*" }
        fails with  "error: string outside of text script or
        \lyricmode"

        I'm using Lilypond 2.22.2

        Can someone give me a clue?

Peter C





This is curiously similar to the recent question
https://lists.gnu.org/archive/html/lilypond-user/2022-08/msg00005.html

For footnotes referring to an object in the music, you can't
use markup footnotes. You need to use the \footnote command.

\version "2.22.2"

\new ChordNames \chordmode {
  \once \override Score.FootnoteItem.annotation-line = ##f
  \footnote "*" #'(0.01 . 0.01) \markup { foo bar baz} d
}

Best,
Jean


Reply via email to