X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fadding-an-extra-staff-at-a-line-break.ly;h=895d80f1f8d7410c13d10e7f87c73ec86d1ae622;hb=660da7cb9cbd8282aedb458bbc7769643a6ff8ef;hp=2c73452a7e5d2bffe354a5c56fd5cf5a809f6eda;hpb=5cfe4870e6871699219fa7a27a27d852d47bc54f;p=lilypond.git diff --git a/input/lsr/adding-an-extra-staff-at-a-line-break.ly b/input/lsr/adding-an-extra-staff-at-a-line-break.ly index 2c73452a7e..895d80f1f8 100644 --- a/input/lsr/adding-an-extra-staff-at-a-line-break.ly +++ b/input/lsr/adding-an-extra-staff-at-a-line-break.ly @@ -1,6 +1,6 @@ %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -\version "2.11.62" +\version "2.13.1" \header { lsrtags = "staff-notation, contexts-and-engravers, breaks" @@ -21,7 +21,7 @@ compás (véase el ejemplo). texidoc = " When adding a new staff at a line break, some extra space is unfortunately added at the end of the line before the break (to fit in -a key signature change, which will never be printed anyway). The +a key signature change, which will never be printed anyway). The workaround is to add a setting of @code{Staff.explicitKeySignatureVisibility} as is shown in the example. In versions 2.10 and earlier, a similar setting for the time signatures @@ -32,27 +32,28 @@ is also required (see the example). " doctitle = "Adding an extra staff at a line break" } % begin verbatim + \score { \new StaffGroup \relative c'' { \new Staff \key f \major c1 c^"Unwanted extra space" \break - << { c1 c } + << { c1 | c } \new Staff { \key f \major \once \override Staff.TimeSignature #'stencil = ##f - c1 c + c1 | c } >> - c1 c^"Fixed here" \break - << { c1 c } + c1 | c^"Fixed here" \break + << { c1 | c } \new Staff { \once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible % The next line is not needed in 2.11.x or later: \once \override Staff.TimeSignature #'break-visibility = #end-of-line-invisible \key f \major \once \override Staff.TimeSignature #'stencil = ##f - c1 c + c1 | c } >> }