%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt))]
\include "lilypond-book-preamble.ly"


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

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  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 "/lilypond-2.26.0/input/regression/accidental-ledger.ly"
\sourcefileline 0
\version "2.19.21"

\header {
  texidoc = "Ledger lines are shortened when there are accidentals.
Depending on the accidental, more than a single staff line gets shortened.
This happens only if the accidental is horizontally close to the head."
}

wholeA = \relative c''' {
  gisis1 gisih gis gih g geh ges geseh geses gis? \break }
wholeB = \relative c''' {
  aisis1 aisih ais aih a aih as aeseh ases ais? \break }

quartersA = \relative c''' {
  \stemUp gisis!4 \stemDown gisis!
  \stemUp gisih! \stemDown gisih!
  \stemUp gis! \stemDown gis!
  \stemUp gih! \stemDown gih!
  \stemUp g! \stemDown g!
  \stemUp geh! \stemDown geh!
  \stemUp ges! \stemDown ges!
  \stemUp geseh! \stemDown geseh!
  \stemUp geses! \stemDown geses!
  \stemUp gis? \stemDown gis? \break }
quartersB = \relative c''' {
  \stemUp aisis!4 \stemDown aisis!
  \stemUp aisih! \stemDown aisih!
  \stemUp ais! \stemDown ais!
  \stemUp aih! \stemDown aih!
  \stemUp a! \stemDown a!
  \stemUp aeh! \stemDown aeh!
  \stemUp aes! \stemDown aes!
  \stemUp aeseh! \stemDown aeseh!
  \stemUp aeses! \stemDown aeses!
  \stemUp ais? \stemDown ais? \break }

{
  \omit Staff.Clef
  \omit Staff.TimeSignature
  \override Staff.StaffSymbol.line-count = #1
  \override Staff.StaffSymbol.ledger-extra = 5

  \set Staff.extraNatural = ##f
  \cadenzaOn

  \override Staff.StaffSymbol.ledger-positions = #'(0 1)
  \wholeA

  \stopStaff\startStaff
  \revert Staff.StaffSymbol.ledger-positions
  \wholeA
  \wholeB

  \stopStaff\startStaff
  \override Staff.StaffSymbol.ledger-positions = #'(0 1)
  \magnifyMusic 0.63 \wholeA

  \stopStaff\startStaff
  \revert Staff.StaffSymbol.ledger-positions
  \magnifyMusic 0.63 \wholeA
  \magnifyMusic 0.63 \wholeB

  \stopStaff\startStaff
  \override Staff.StaffSymbol.ledger-positions = #'(0 1)
  \quartersA

  \stopStaff\startStaff
  \revert Staff.StaffSymbol.ledger-positions
  \quartersA
  \quartersB

  \stopStaff\startStaff
  \override Staff.StaffSymbol.ledger-positions = #'(0 1)
  \magnifyMusic 0.63 \quartersA

  \stopStaff\startStaff
  \revert Staff.StaffSymbol.ledger-positions
  \magnifyMusic 0.63 \quartersA
  \magnifyMusic 0.63 \quartersB
}

\paper {
  indent = 0
}



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