From: Mats Bengtsson Date: Thu, 1 Jul 2004 15:57:56 +0000 (+0000) Subject: New example file to a FAQ. X-Git-Tag: release/2.2.4~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=84a108514af869622ecf548840f3857692dc634f;p=lilypond.git New example file to a FAQ. --- diff --git a/input/test/no-key-at-end-of-line.ly b/input/test/no-key-at-end-of-line.ly new file mode 100644 index 0000000000..8d65b84f84 --- /dev/null +++ b/input/test/no-key-at-end-of-line.ly @@ -0,0 +1,18 @@ +\version "2.2.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 { + \notes \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 | + } +}