On Sat, Dec 6, 2025 at 10:30 AM Carl Sorensen <[email protected]> wrote:
>
> On Sat, Dec 6, 2025 at 10:22 AM Carl Sorensen <[email protected]> 
> wrote:
> >
> > On Tue, Dec 2, 2025 at 8:29 AM Pierre-Luc Gauthier
> > <[email protected]> wrote:
> > >
> > > I've not managed to produce a MWE yet but I am trying.
> > >
> >
OK.  I have now developed a working example.

It appears that the \sectionLabel command does not reserve enough
space in the pagebreaking algorithm for a label that contains a column
markup.  It seems to save only enough space for a single row of text.
Then when it gets to the final page layout, it tries to fit everything
on the page and ends up overcrowding things.

In contrast, a straight \markup command reserves enough space and
avoids the overcrowding.

Once I get some feedback here on the user list, I'll post an issue on GitLab.

HTH,

Carl


%%% Beginning of code
 \version "2.25.29"

\score {
   <<
   \new ChordNames {
     <<
    {\repeat unfold 40 {
      c1
      \repeat unfold 5 c1
    }}
     >>
   }
   \new Staff {
     <<
    { \repeat unfold 40{
       c''1
       \repeat unfold 5 c''1
      }
     }

    {\repeat unfold 40 {
      s1
      \sectionLabel  \markup \column {"A" "b" "C"} % comment out this
line and uncomment the next one to see that markup works properly
      %^ \markup \column {"A" "b" "C"}   % uncomment this line and
comment the next one to see that sectionLable with a column argument
doesn't reserve enough space
      \repeat unfold 5 s1
    }}
     >>
   }
   >>
}
%%% End of Code

Reply via email to