On Sat, Mar 29, 2025 at 5:53 PM Samuel Tardieu <lilypond2...@nspm.fr> wrote:

> Hi.
>
> I'd like to include chord names, as they would be rendered on the score,
> in markup text. For example, I'd like to be able to write something like
>
> \markup { "Here you can also play:" \chordText a:7 }
>
> and have it rendered as "Here you can also play: A⁷". But I can't seem to
> find what would be the \chordText command. Does it exist?


This is the closest I could get:

%%%
\version "2.24.4"
\markup { "This can also be played:" \score { \chords { a:7 } } }
%%%

--
Knute Snortum

Reply via email to