%% Generated by lilypond-book.py
%% Options: [alt=[image of music],printfilename,indent=0\mm,texidoc,line-width=160\mm]
\include "lilypond-book-preamble.ly"







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

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 160\mm
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "accidental-placement.ly"



\header {

  texidoc ="Accidentals are placed as closely as possible.
Accidentals in corresponding octaves are aligned.
The top accidental should be nearest to the chord. The
flats in a sixth should be staggered.  "
  
}

\layout {
  ragged-right = ##t
}


\context Voice \relative c'
{
  <d e! bes'!>4
  cis4
  c4
  \transpose c c' {
    <ges es'>
    <bis es gis>4
    <es! as!>
    <gis! cis!>
    <g! des'>
    <ges! es'!>
  }    
  <cis d es fis gis ases bes ces d e! >4
  <bes'! fis!>     
  <bes! cis!>
  <c! es ges beses>
  <bes! c d f >    
  <bes,! c d f >

}





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