lilypond-user
[Top][All Lists]
Advanced

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

Re: Bold Maj7 Triangle


From: Gregory Hollands
Subject: Re: Bold Maj7 Triangle
Date: Tue, 30 Nov 2021 14:43:22 -0500

Thank you

FYI it still needs \set in front, otherwise lilypond throws an error.

Thanks again,
-Greg

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).

Cheers,
Valentin

Am Dienstag, 30. November 2021, 20:11:07 CET schrieb Gregory Hollands:
> Valentin,
>
> That works great.
> How do I use \set majorSevenSymbol globally? Is it possible to put it in
> the layout block?
>
> Thanks,
> Greg
>
> On Tue, Nov 30, 2021 at 12:59 PM Valentin Petzel <valentin@petzel.at> wrote:
> > Hello Gregory,
> >
> > The major 7 symbol simply uses the markup command \triangle with fontsize
> > -3.
> > So simply do something like
> >
> > \set majorSevenSymbol = \markup\fontsize #-3 \override #'(thickness . 0.2)
> > \triangle ##f
> >
> > The ##f here specifies that the triangle should not be filled. Adjust
> > thickness to meet your demands.
> >
> > Cheers,
> > Valentin

reply via email to

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