lilypond-user
[Top][All Lists]
Advanced

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

Re: font of title from an external variable


From: David Kastrup
Subject: Re: font of title from an external variable
Date: Thu, 03 Jan 2019 16:34:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

address@hidden writes:

> Unluckely this doesn't work, I get title in "Agency FB" font.
>
> Instead if I change
>
> \override #'(font-name . font-titolo)
>
> by
>
> \override #'(font-name . "Castellar")
>
> I get title in Castellar font, as desidered.
>
> Does anybody knows the solution, please?

It's worth looking up the quoting conventions of Scheme if nothing else.

You want

\override #`(font-name . ,font-titolo)

instead and both the change of the quote character as well as the comma
are required.  This is equivalent to the quoteless form (well, not
really quoteless)

\override #(cons 'font-name font-titolo)

-- 
David Kastrup



reply via email to

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