lilypond-user
[Top][All Lists]
Advanced

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

Re: Chord mode: changing N.C.


From: David Kastrup
Subject: Re: Chord mode: changing N.C.
Date: Tue, 17 May 2022 17:17:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lukas-Fabian Moser <lfm@gmx.de> writes:

> Hi Hraban,
>
> Am 17.05.22 um 12:39 schrieb Henning Hraban Ramm:
>> how can I change the rest symbol in chord mode from "N.C." to e.g. "–"?
>
> \set noChordSymbol = –
>
> You can give any string or (more generally) markup; in recent
> versions, no quotation marks are needed.
>
> If you want to change it globally:
>
> \layout {
>   \context {
>     \ChordNames
>     noChordSymbol = something
>   }
> }
>
> BTW, I'm a bit surprised to find the definition of noChordSymbol in
> ly/engraver-init.ly at \Score level instead of at \ChordNames
> level.

Why would you want to place it at ChordNames level?  That would cause
trouble without end.

Override and revert the setting at ChordNames level, and it is broken.
Override the setting at Score or StaffGroup level, and it has no effect.

> Maybe there's a good reason for this, but maybe not: engraver-init.ly
> deserves some cleanup anyway (I did a bit of this in a local branch
> which I never got around to polishing).

I certainly hope you don't plan on a "cleanup" by relocating default
settings to the innermost level where they behave least predictably to
the user.

-- 
David Kastrup



reply via email to

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