Hi,

In Lilypond, I’d like to create two columns with two systems on each line. These systems should all have the same width and be aligned equally.
At the moment, some systems are wider than others.

Here’s a simple version of how I’m currently setting up the layout.
I’m using proportionalNotationDuration, which gets me fairly close to what I want, but it’s not perfect yet.

How could I improve this?

Thank you very much and kind regards,


Guido

\version "2.24.3"



melody-a = \relative c'' {
  c4 d e f
}

melody-b = \relative c'' {
  cis4 dis eis fis

}
\markup {
  \column {
    \line {
      \column {
        \line { \vspace #2 }
        \score {
          \new Staff { \melody-a }
          \layout {
            \context {
              \Score
              proportionalNotationDuration = #(ly:make-moment 1/12)
            }
          }
        }
      }
      \column {
        \line { \vspace #2 }
        \score {
          \new Staff { \melody-b }
          \layout {
            \context {
              \Score
              proportionalNotationDuration = #(ly:make-moment 1/12)
            }
          }
        }
      }
    }
\line {
      \column {
        \line { \vspace #2 }
        \score {
          \new Staff { \melody-b }
          \layout {
            \context {
              \Score
              proportionalNotationDuration = #(ly:make-moment 1/12)
            }
          }
        }
      }
      \column {
        \line { \vspace #2 }
        \score {
          \new Staff { \melody-a }
          \layout {
            \context {
              \Score
              proportionalNotationDuration = #(ly:make-moment 1/12)
            }
          }
        }
      }
    }
  }
}



Reply via email to