In LilyPond you can't reference via \fromproperty the same header field you
are defining, but you can reference some other existing header field. Just
use some custom name (e.g. "mytitle") for the shared title definition and
reference that in the markup.

An alternative approach to title style customization would be redefining
bookTitleMarkup
https://lilypond.org/doc/v2.23/Documentation/notation/custom-titles-headers-and-footers#custom-layout-for-titles

Regards, Jakub

ne 31. 5. 2026 v 17:20 odesílatel Michael Scheer <[email protected]> napsal:

> Hi Lilypond users,
>
> I access a pieces global header via an include, it is accessed from
> different files.
>
> Now in the full score, I need bigger headers. So this is my first test,
> but Lilypond complains about recursive use of the title.
> I thought it is called sequential and should be no problem. But it is.
>
> Will it be even possible to manipulate header:title after its definition?
>
> % CODE %
> \header {
>   \include "include/title.ily" % in the include, there is a 'title =  "my
> title"'
>   title = \markup { \huge \fromproperty #'header:title }
> }
> % CODE %
>
> TY -
> Best regards
> Michael
>
>

Reply via email to