From 7cae51b96601f7f5a516d9ad5106e387078a9383 Mon Sep 17 00:00:00 2001 From: matsb Date: Fri, 2 Jul 2004 09:27:10 +0000 Subject: [PATCH] New example file to answer a FAQ. --- input/test/no-key-at-end-of-line.ly | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 input/test/no-key-at-end-of-line.ly 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 | + } +} -- 2.39.5