\version "2.18.2"

\include "score/spacing.ly"
\include "score/dynamics.ly"
\include "score/guitar1.ly"
\include "score/guitar2.ly"

\bookpart {
 \paper {
%	annotate-spacing = ##t
	print-first-page-number = ##t
	page-count = #3
%	system-count = #10
%	systems-per-page = #5
%	max-systems-per-page = #4

	top-margin = 12 \mm
	bottom-margin = 10 \mm
	left-margin = 18 \mm
	right-margin = 18 \mm

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

	system-system-spacing =
	    #'((basic-distance . 22)
	       (minimum-distance . 19)
	       (padding . 4)
	       (stretchability . 4))

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

\header {
  title = \markup \center-column {
		\null
		\fontsize #3.0
		"La Fille aux Cheveux de Lin"
	}

  subtitle = \markup \center-column {
		\null
		\fontsize #3.0
		\null
	}

  subsubtitle = \markup \center-column {
		\fontsize #3.0
		"Prelude VIII"
		\null
		\null
	}

  composer = \markup \center-column {
	\fontsize #1.0
	 "Claude Debussy (1862 - 1918)"
	}

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

  poet = " "
  tagline = ""
  piece = " "
  style = "Romantic"
 copyright = \markup  \fill-line { \tiny { \line { Steve Shorter (2017). \epsfile #0 #10 #'"by-sa.eps" }}}
 }

 \score {
   \new GrandStaff \with {
            \override StaffGrouper #'staff-staff-spacing =
                #'((basic-distance . 10)
                   (minimum-distance . 6)
                   (padding . 4))
    }

    <<

      \set GrandStaff.instrumentName =
                \markup {
                        \override #'(font-family . "Sans")
                        \abs-fontsize #14.0 \bold "Guitar  "
                }


	\new Staff \with { \consists "Span_arpeggio_engraver" }
                   << \global \spacing \guitarone >>
	\new Dynamics \dynamics
	\new Staff \with { \consists "Span_arpeggio_engraver" }
                   << \global \guitartwo >>
    >>
 

    \layout {
	\context {
           \Score
%               \override NonMusicalPaperColumn #'line-break-permission = ##f
               \override NonMusicalPaperColumn #'page-break-permission = ##f
      } 
   }
 } 
}
