[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Score header and top-level markup
From: |
Jean Abou Samra |
Subject: |
Re: Score header and top-level markup |
Date: |
Mon, 6 Jun 2022 14:43:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
Le 06/06/2022 à 14:32, Simon Albrecht a écrit :
Hi everyone,
%%%%%%%%%%%%%%%
\version "2.23.9"
\bookpart {
\markup \fontsize #10 "general title"
\header {
title = "specific title"
}
\score {
{ 1 }
}
}
%%%%%%%%%%%%%%%%
why does "general title" appear below "specific title" and not above?
The placement of the \header block does not matter. It
can be after all scores, or before, or in the middle.
It just applies to the bookpart. You've given the bookpart
a title, so LilyPond prints it in front of all the rest.
This is similar to
\score {
\header {
piece = piece
}
{ c' }
}
giving the same output as
\score {
{ c' }
\header {
piece = piece
}
}
How can I change that?
That sounds like an XY question. What is the use case?
There are lots of ways. You could integrate the specific
title into the general title. You could integrate the general
title into the specific title. You could also put the specific
title in \score-level \header fields.
Best,
Jean