%% Generated by lilypond-book.py
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}





% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/input/regression/page-spacing.ly"
\sourcefileline 0

\header {

  texidoc = "By setting properties in NonMusicalPaperColumn, vertical
spacing of page layout can be adjusted.

For technical reasons, @code{overrideProperty} has to be used for
setting properties on individual object. @code{\\override} may still be
used for global overrides.

By setting @code{annotate-spacing}, we can see the effect of each property.
"

}

\version "2.16.0"

#(set-global-staff-size 11)

\book {
  \score {
    \relative c'' \new PianoStaff <<
      \new Voice  {
	c1_"followed by default spacing"\break
	c\break

	\overrideProperty
	#"Score.NonMusicalPaperColumn"
	#'line-break-system-details
	#'((Y-extent . (-30 . 10)))
	c_"Big bounding box (property Y-extent)"\break

	\overrideProperty
	#"Score.NonMusicalPaperColumn"
	#'line-break-system-details
	#'((refpoint-Y-extent . (-37 . -10)))
	c_\markup {
	  \column {
	    "Refpoints further apart (property refpoint-Y-extent)."
	    "Stretchable space runs between refpoints"
	  }
	}

	\break

	\overrideProperty
	#"Score.NonMusicalPaperColumn"
	#'line-break-system-details
	#'((next-padding . 10))

	c_"Followed by padding, ie unstretchable space. (property next-padding)" \break
	\overrideProperty
	#"Score.NonMusicalPaperColumn"
	#'line-break-system-details
	#'((next-space . 20))
	c_"Followed by stretchable space (property next-space)"\break
	c\break
	\overrideProperty
	#"Score.NonMusicalPaperColumn" #'line-break-system-details
	#'((bottom-space . 25.0))
	c_"25 staff space to the bottom of the page. (property bottom-space)"\break


      }
      { c1 c c c c c c c }
    >>
  }
  \paper {
    ragged-last-bottom = ##f
    annotate-spacing = ##t
    obsolete-between-system-space = 1.0
    system-system-spacing #'basic-distance = #(/ obsolete-between-system-space staff-space)
    score-system-spacing #'basic-distance = #(/ obsolete-between-system-space staff-space)
    #(set! text-font-defaults
      (acons
       'font-size 6
       text-font-defaults)

    )
  }
}



% ****************************************************************
% end ly snippet
% ****************************************************************
