lilypond-user
[Top][All Lists]
Advanced

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

Re: Markup Between Systems


From: Jean Abou Samra
Subject: Re: Markup Between Systems
Date: Mon, 12 Oct 2020 21:52:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Xavier,

> One lead would be to "hack" the system-separator-markup.
> See NR 1.6.1 Displaying staves > Separating systems
> https://lilypond.org/doc/v2.21/Documentation/notation/displaying-staves.html#separating-systems

I was considering that… but can one change the separator mid-score?
I thought you could only change it in the \paper variable?

Cheers,
Kieren.

Hi,

You can make it depend on the page, but not more, as this test evidences:

#(define counter 1)
#(define (next layout props arg)
   (display counter) (newline)
   (set! counter (1+ counter))
   (interpret-markup layout props #{ \markup "A" #}))
\paper {
  system-separator-markup = \markup \on-the-fly #next \null
}
\repeat unfold 500 c'1

This prints
1
2
3

because there are three pages, but the markup is evaluated just once per page.

No clue wether there is a way to replace make-page-stencil from page.scm (https://gitlab.com/lilypond/lilypond/-/blob/master/scm/page.scm#L229) to override this behavior.

Best,
Jean


reply via email to

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