lilypond-user
[Top][All Lists]
Advanced

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

Re: Doing layout for an entire score with certain constraints


From: Xavier Scheuer
Subject: Re: Doing layout for an entire score with certain constraints
Date: Tue, 17 Dec 2024 15:54:17 +0100

On Tue, 17 Dec 2024 at 14:45, tran li <litran39@hotmail.com> wrote:
>
> After I completed a score, I found that the default layout created by LilyPond is not satisfactory. I would like to modify some aspects of my layout, but doing that all manually can be extremely exhausting and create even weirder layout effects while adjusting. My requirement is as follows:
>
> Except for the first page that has 5 systems, all other pages should have exactly 6 systems.

Lilypond has \paper variables systems-per-page, min-systems-per-page and max-systems-per-page, but it does not differentiate between the first page and the next pages (it would be nice though).

> One line should have no more than 5 measures.

People have developed solutions to have a specific number of measures per line (system), maybe it is possible to modify them to have lower or equal to instead of equal.
https://lists.gnu.org/archive/html/lilypond-user/2012-12/msg00775.html
https://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00239.html

> The last page must be filled to the bottom and leaves no blank.

\paper {
  ragged-last-bottom = ##f
}

> While I am manually adjusting my score, sometimes a page of 6 systems is broken in two pages that have 3 systems each, or a line is broken into two lines. I cannot exactly figure out why and when exactly this happens. So is there a more efficient way to achieve my desired layout requirements? I'd appreciate it if it can me done with more ease. If a specific score example is needed I'll provide it later.

You could also use an extra voice for breaks, as explained in NR 4.3.1.
https://lilypond.org/doc/v2.25/Documentation/notation/line-breaking

Kind regards,
Xavier


reply via email to

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