%% 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/beam-extreme.ly"
\sourcefileline 0

\version "2.16.0"
\header{
texidoc="
Beams should behave reasonably well, even under extreme circumstances.
Stems may be short, but noteheads should never touch the beam.  Note that
under normal circumstances, these beams would get knees.  Here
@code{Beam.auto-knee-gap} was set to false.
"
}

\layout{
  %%    ragged-right = ##t
  ragged-right = ##t
}

extreme = \relative c'' {
  \stemNeutral
   g8[ c c,]
   c16[ c'' a f]
  \stemUp 
   c,,32[ c'' a f]

  %%%%%%%
  \stemNeutral
  \times 2/3{ d16[ fis' d,]} \times 2/3{ cis[ g'' cis,,]}
  a'16 cis a, g''' % Used to give a nice beam directed upwards.
  \stemNeutral

  \transpose c c {
	  \stemDown  e'8[ e e']
      }
}

{
				% If we want to test extreme beams,
				% we should not have them auto-kneed
  \override Beam  #'auto-knee-gap = ##f
  \extreme
}



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