lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Labeling a chordNames staff


From: Raphael Mankin
Subject: Re: Labeling a chordNames staff
Date: Mon, 16 Dec 2024 08:35:48 +0000
User-agent: Mozilla Thunderbird

Thank you

On 15/12/2024 11:25, David Kastrup wrote:
Raphael Mankin <raph@mankin.org.uk> writes:

Is it possible to label a chordNames staff much as instrumentName
labels a music staff?

Motivation: In popular music it is common to have more than one
harmonisation of a tune. I would like to label them as to
source/style/...

It is unusual and thus not the default.  But using

\layout {
   \context {
     \ChordNames
     \consists "Instrument_name_engraver"
     instrumentName = ""
     shortInstrumentName = ""
   }
}

at the top of your file should be enough to let the ChordNames contexts
heed a user setting of instrumentName and shortInstrumentName.  Note the
defaults set here: otherwise the ChordNames contexts inherit the
settings from any enclosing StaffGroup or similar when nothing is
getting set explicitly and then typesets them, leading to duplication.

Should this be the default?  Possibly.  I don't think labelling the
chord name line is all that unusual.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]