[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Markup in ChordNames context
From: |
Jean Abou Samra |
Subject: |
Re: Markup in ChordNames context |
Date: |
Sat, 13 Aug 2022 07:45:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
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