[Top][All Lists]

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

font of title from an external variable

From: antonfonta
Subject: font of title from an external variable
Date: Thu, 3 Jan 2019 14:00:11 +0100 (CET)


I would like to set, in a file called "", title, tilte font size and title font using variables an external file "" is like follows:
\version "2.18.1"
\include ""
\header {
  title = \markup {
         \override #'(font-name . font-titolo)
\paper {
  #(define fonts
    (make-pango-font-tree  "Agency FB"
                          "Agency FB"
                          "Agency FB"
                         (/ staff-height pt 25)))

\score {

File is as follows:

titolo = "Example1"
font-titolo= "Castellar"

Unluckely this doesn't work, I get title in "Agency FB" font.

Instead if I change

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


\override #'(font-name . "Castellar")

I get title in Castellar font, as desidered.

Does anybody knows the solution, please?

Thanks for your help.

reply via email to

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