\version "2.24.4"

\paper {
%       annotate-spacing = ##t
        print-page-number = ##t
        print-first-page-number = ##t
        first-page-number = #1
%        page-count = #2
%        system-count = #14

        #(set-paper-size "arch a")

        top-margin = 12 \mm
        bottom-margin = 12 \mm
        left-margin = 18 \mm
        right-margin = 18 \mm
        top-system-spacing =
                #'((basic-distance . 10)
                   (minimum-distance . 8)
                   (padding . 0))
%                   (stretchability . 4))

        system-system-spacing =
            #'((basic-distance . 18 )
               (minimum-distance . 14)
               (padding . 4)
               (stretchability . 4))

        ragged-last-bottom = ##f
        ragged-bottom = ##f
%        oddFooterMarkup = \markup \column { \null \null \fromproperty #'header:copyright }
}

#(set-global-staff-size 20)

\pointAndClickOff
%\pointAndClickOn

\header {
  title = \markup \center-column {
		\null
		\null
		\fontsize #3.0
		"Prelude"
	}

  subtitle = \markup \center-column {
		\null
		\null
		\fontsize #2.0
		"BWV-1007"
		\null
	}

  composer = \markup \center-column {
	\fontsize #1.0
	 "J. S. Bach (1685-1750)"
	}

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

  copyright = \markup \fill-line { \tiny { \line { Steve Shorter (2015). \epsfile #X #10 #'"by-sa.eps" }}}

  style = "Romantic"
%  meter = " " 
%  opus = 
  piece = "v1.0"
 % poet = " " 
  maintainer = "Steve Shorter"
  lastupdated = "2015/Nov"
  dedication = ""
%  tagline = "Engraved by LilyPond 2.18.2"
}

global = {
    \clef "G_8"
    \time 4/4 
    \key d \major
    \set Staff.connectArpeggios = ##t
%    #(set-accidental-style 'modern)
}

\include "guitar.ly"

\score {
  \new Staff \with { \consists "Span_arpeggio_engraver" }

	     <<  \global \spacing \guitar >>

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

