On Fri, 19 Jan 2024 at 01:42, Adrian <metab...@protonmail.ch> wrote:
>
> How would you change the font of the lyrics?
>
> \override LyricsText.font-name = "Font Name"
>
> doesn't work yet throws no error. At the moment, I haven't found a method
to identify the name of the object to style or the name of the style
property consistently, it's entirely ad hoc according to the internals
documentation mostly. Something like
>
> \override TextScript.font-name = "Font Name"
>
> works at the top level for most things, but not for lyrics or in the
lyrics environment.

Hello,

Please don't forget to include the lilypond-user mailing list in the
recipients (reply to all).
You identified the correct object, but you need to include the context (for
every object that is engraved at a context level other than Voice).

\override Lyrics.LyricsText.font-name = "Font Name"

An elegant alternative would be to put all your overrides in the layout
block.
See Learning Manual LM 3.3.4 Modifying context properties.

Kind regards,
Xavier

Reply via email to