%% Generated by lilypond-book.py %% Options: [linewidth=160\mm,alt=[image of music],printfilename,indent=0\mm,texidoc] #(set! toplevel-score-handler ly:parser-print-score) #(set! toplevel-music-handler (lambda (p m) (ly:parser-print-score p (ly:music-scorify m p)))) #(ly:set-option (quote no-point-and-click)) #(define version-seen? #t) % **************************************************************** % Start cut-&-pastable-section % **************************************************************** \paper { #(define dump-extents #t) linewidth = 160\mm indent = 0\mm } \layout { } % **************************************************************** % ly snippet: % **************************************************************** \renameinput "no-key-at-end-of-line.ly" \version "2.6.0" \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 % ****************************************************************