%% 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 "no-key-at-end-of-line.ly"

\header {

    texidoc = "@cindex Key Signature End of Line
According to normal typesetting conventions, LilyPond typesets key
changes at the end of the line, when the change appears at a line break.
This example shows how to change this default to only print the
new key signature at the beginning of the next line.
" }

\score {
   \relative c' {
    \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
    c d e f | g a b c | \break
    \key d \major
    d cis b a | g fis e d |
  }
}



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