Hi,

Am 24.08.21 um 11:56 schrieb Ivanov Dmitry:
I am working with piano teacher upon solving the harmonization
exercises. To solve them I need a blank sheet with music staves
grouped by 2 with treble and bass clefs.

Usually one exercise requires 2 sets of staves (4 staves totally). So
far I was able to use this code from the template
(https://lsr.di.unimi.it/LSR/Snippet?id=663). I created an ideal image
of what I want. But I am not sure that there will be enough space on
the page to contain 8 pairs of staves if we add extra space.

Can someone help me with adjusting the code?

In case you want to print the exercise numbers etc. as well, you could use something like the attached. The idea is to put two systems into a single \score.

Lukas

\version "2.22.1"

\paper {
  tagline = ""
  markup-system-spacing.stretchability = 0
  markup-system-spacing.padding = 1
  system-system-spacing.stretchability = 0
  score-markup-spacing.padding = 2
  ragged-last-bottom = ##f
  print-page-number = ##f
}

\layout {
  \autoPageBreaksOff
  indent = 0\in
  \context {
    \Staff
    \remove "Time_signature_engraver"
    \override VerticalAxisGroup.staff-staff-spacing.padding = 5
    \override VerticalAxisGroup.staff-staff-spacing.stretchability = 0
  }
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
}

ex =
#(define-void-function (title) (markup?)
(add-score #{
\score {
  \header {
    piece = #title
  }
  \layout {
    system-count = 2
  }
  \new PianoStaff
  <<
    \new Staff { \repeat unfold 2 s1 }
    \new Staff { \clef bass \repeat unfold 2 s1 }
  >>
           } #} ))

\ex "First exercise: Scales and stuff"

\ex "Second exercise: Triads and so on"

\ex "Third exercise"

\ex "Fourth exercise"

\ex "Fifth exercise"

\ex "Sixth exercise"

Reply via email to