X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fadding-an-extra-staff-at-a-line-break.ly;h=41dce7003e5132600c4cb11cccba23d3352f8486;hb=b97565a9af1c13369ac7e7e9ea80c2638dbc0e51;hp=c9ae07a9e3cc1997e9c1388a6b011cb8728f426f;hpb=beb52c9966a934559684caebce7acc2b326d316e;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 c9ae07a9e3..41dce7003e 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,14 +1,28 @@ %% 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.46" +\version "2.13.1" \header { lsrtags = "staff-notation, contexts-and-engravers, breaks" +%% Translation of GIT committish: f39a9724d9f51ed9d0d464689ef62f549d7b8dd6 + texidoces = " +Al añadir un pentagrama nuevo en un salto de línea, por desgracia +se añade un espacio adicional al final de la línea antes del salto +(reservado para hacer sitio a un cambio de armadura que de todas +formas no se va a imprimir). La solución alternativa es añadir un +ajuste para @code{Staff.explicitKeySignatureVisibility} como se +muestra en el ejemplo. En las versiones 2.10 y anteriores, +también se necesita un ajuste similar para las indicaciones de +compás (véase el ejemplo). + +" + doctitlees = "Añadir un pentagrama adicional en un salto de línea" + 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 @@ -19,28 +33,30 @@ 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 } >> } } +