lilypond-user
[Top][All Lists]
Advanced

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

Re: Getting Y-offset on systems to be exact on left and right "mirrored


From: Jean Abou Samra
Subject: Re: Getting Y-offset on systems to be exact on left and right "mirrored pages"
Date: Thu, 5 Aug 2021 20:29:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0



Le 05/08/2021 à 12:39, Owain Evans a écrit :
That is totally fantastic! Works perfectly!
I've one variable / context defining both left and right pages: system 
in-between distance and bars per system.
And will just add another context if I need to use the Y-offset of 
NonMusicalPaperColumn which will be unlikely.

Many thanks,
Owain


Um, why don't I see the systems lining up then?
(Output attached.)

\version "2.22.1"

#(set-global-staff-size 40) % for visibility

\paper {
  top-system-spacing =
  #'((basic-distance . 10)
     (minimum-distance . 10)
     (padding . 0)
     (stretchability .0))
}

mymusic = { \repeat unfold 16 {c4} \break }

\bookpart {
\relative c' {
 \overrideProperty Score.NonMusicalPaperColumn.
 line-break-system-details  #'((Y-offset . 40))
    \mymusic }
}

\bookpart {
\relative c''' {
   \overrideProperty Score.NonMusicalPaperColumn.
   line-break-system-details #'((Y-offset . 40))
 \ottava #1
 \mymusic }
  }


Regards,
Jean

Attachment: mwe.pdf
Description: Adobe PDF document


reply via email to

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