\version "2.24.4"

global = {
        \set Score.extraNatural = ##f
	\key g \major
	\clef "G_8"
	\time 4/4
	\set Staff.connectArpeggios = ##t
}

\include "I/gtr3/dynamics.ly"
\include "I/gtr3/guitar3.ly"

\bookpart {
 \paper {
	page-count = #2
%	systems-per-page = #4
	system-count = #19
%	min-systems-per-page = #4

	top-margin = 14 \mm
	bottom-margin = 14 \mm
	left-margin = 18 \mm
	right-margin = 18 \mm

	top-system-spacing =
                #'((basic-distance . 14)
                   (minimum-distance . 10)
                   (padding . 0))
%                   (stretchability . 4))

	system-system-spacing =
	    #'((basic-distance . 16)
	       (minimum-distance . 10)
	       (padding . 4)
	       (stretchability . 4))

	ragged-last-bottom = ##f
	ragged-bottom = ##f
 }

\header {

  title = \markup \center-column {
		\italic
		\bold
		\fontsize #1.0
		{
		"Eine kleine Nachtmusik"
		\null
		}
    }

  composer = \markup \center-column {
		\fontsize #-0.7
		{
		"Wolfgang Amadeus Mozart (1756 - 1791)"
		}
	}

  arranger = \markup \center-column {
		\fontsize #-0.7
		{
		"                    Steve Shorter (2026)"
		\null
		}
	}
 }

\tocItem \markup \column {
         \fontsize #-2.0
        \line { \hspace #10 "Guitar 3" }
     }

 \score {
    \new StaffGroup \with {
            \override StaffGrouper.staff-staff-spacing =
                #'((basic-distance . 12)
                   (minimum-distance . 8)
                   (padding . 2))
    }
    <<
	\new Staff \with { \consists "Span_arpeggio_engraver" }
                   << \global \guitarthree >>
	\new Dynamics \dynamics
    >>

    \layout {
        #(layout-set-staff-size 20)
        \context {
           \Score
%             \override NonMusicalPaperColumn #'line-break-permission = ##f
%            \override NonMusicalPaperColumn #'page-break-permission = ##f
       }
    }
  }
}
