X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fadding-an-extra-staff-at-a-line-break.ly;h=ec2a3886d1f4eff2b8fb675d0f7b4d7d443cd76f;hb=def21b306e2b8fa2d5630fab0878e9922e197f0c;hp=b206077b7618568e5dfb2b6c846a845159f9982f;hpb=8dbc847638b24a60ca66110850cc020aeb69b646;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 b206077b76..ec2a3886d1 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,10 +1,23 @@ %% 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.38" +\version "2.11.57" \header { lsrtags = "staff-notation, contexts-and-engravers, breaks" + 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 @@ -20,28 +33,27 @@ is also required (see the example). doctitle = "Adding an extra staff at a line break" } % begin verbatim \score { - \new StaffGroup \relative c'' { - \new Staff + \new StaffGroup \relative c'' { + \new Staff \key f \major - c1 c^"Unwanted extra space" \break + c1 c^"Unwanted extra space" \break << { c1 c } - \new Staff { + \new Staff { \key f \major \once \override Staff.TimeSignature #'stencil = ##f c1 c } >> - c1 c^"Fixed here" \break + 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 + \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 + } >> } } -