9

In the style of "Stick Control for the Snare Drummer" I'd like to set my page in two columns having 12 2-bar phrases in each. I have this attempt which is nearly exactly what I want, except I would like the 2-bar phrases to line up. This could be achieved by e.g. making the spaces between each consecutive 2-bar phrase equal but all my attempts by following the manual have failed so far - presumably because everything is wrapped in markup. The approach with markup was the only approach I found to create multiple columns, which I found here

Is there any other approach that could be used, or is there some variable I could poke in order to make the systems vertically equidistant?

Picture displaying the misalignment

fcar
  • 191
  • 3
  • Worst case it seems I can manually add \fill-line { \override #'(baseline-skip . $MAGIC_NUMBER) and correct them and actually get a passable result. I'd rather not go through all files manually, though... – – fcar Sep 13 '21 at 18:30
  • Indeed, "Vertical spacing of a \score inside a markup object is controlled by baseline-skip. Any \paper settings are ignored." From http://lilypond.org/doc/v2.19/Documentation/notation/formatting-text#music-notation-inside-markup – fcar Sep 15 '21 at 12:38

1 Answers1

4

I think \table solves your problem.

See here for more.

An example:

\version "2.22.0"

\markup \fill-line { \column \override #'(padding . 20) \override #'(baseline-skip . 12) \table #'(0 0) { \score { \new Staff \relative c' { c2 d e f } \layout { } }

    \score {
        \new Staff \relative c' { d2 e f g }
        \layout { }
    }

    %-----

    \score {
        \new Staff \relative c' { e2 f g a }
        \layout { }
    }

    \score {
        \new Staff \relative c' { f2 g a b }
        \layout { }
    }
}

}

TiagoPC
  • 406
  • 2
  • 7