lilypond-user
[Top][All Lists]
Advanced

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

Re: Bold Maj7 Triangle


From: David Kastrup
Subject: Re: Bold Maj7 Triangle
Date: Tue, 30 Nov 2021 20:48:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Gregory Hollands <gregory.j.hollands@gmail.com> writes:

>> On Tue, Nov 30, 2021 at 2:15 PM Valentin Petzel <valentin@petzel.at> wrote:
>>
>>> Hello Gregory,
>>>
>>> That is indeed possible. The difference is just that \set is used to set
>>> context properties during
>>> music. Within the layout block you set context properties by simple
>>> assignment,
>>> so you’d do something like
>>>
>>> \layout {
>>>   \context {
>>>     \ChordNames
>>>     majorSevenSymbol = \markup\fontsize #-3 \override #'(thickness . 0.2)
>>> \triangle ##f
>>>   }
>>> }
>>>
>>> (you can also put \Score instead of \ChordNames, but it should not make a
>>> difference, as ChordNames is the only context that uses this property).
>
> FYI it still needs \set in front, otherwise lilypond throws an error.

You probably forgot the \context block here.  Please, please, please:
whenever you make a statement about some code, _include_ the code you
have actually been using and include the error message.

-- 
David Kastrup



reply via email to

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