|
From: | Jean Abou Samra |
Subject: | Re: Non-breakable vertical space |
Date: | Tue, 14 Mar 2023 19:52:49 +0100 |
User-agent: | Evolution 3.46.4 (3.46.4-1.fc37) |
Le mardi 14 mars 2023 à 19:42 +0100, Volodymyr Prokopyuk a écrit :
Hi,
Is there a way in Lilypond to insert a non-breakable vertical space to avoid page break between a section title and piece title?
Code with an undesired page break
\markup \column {
\fill-line { \fontsize #5 \bold \caps Section }
\vspace #1 % <= this vertical space should be non-breakable
}
\tocSection tocSec1 \markup { Section }
\tocItem \markup { Piece }
Use \noPageBreak
after your \markup \column { ... }
. See Manual page breaking in the documentation.
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |