X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fdisplay-bracket-with-only-one-staff-in-a-system.ly;h=9a9e8be8eedbe1ffe20468785ac3fc5f4e5f5260;hb=13ca4123d326ade652522703a5d15186971318e2;hp=d0627939a6051297984147b5e33363040cefa7cb;hpb=d0bb8ab6cb52449b6f58154c9bdc0ae92d71c924;p=lilypond.git diff --git a/input/lsr/display-bracket-with-only-one-staff-in-a-system.ly b/input/lsr/display-bracket-with-only-one-staff-in-a-system.ly index d0627939a6..9a9e8be8ee 100644 --- a/input/lsr/display-bracket-with-only-one-staff-in-a-system.ly +++ b/input/lsr/display-bracket-with-only-one-staff-in-a-system.ly @@ -1,57 +1,56 @@ -%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% Do not edit this file; it is auto-generated from input/new %% This file is in the public domain. -\version "2.11.38" - +\version "2.12.0" \header { - lsrtags = "staff-notation, tweaks-and-overrides" - texidoc = " -If there is only one staff in one of the staff types @code{ChoirStaff}, -@code{InnerChoirStaff}, @code{InnerStaffGroup} or @code{StaffGroup}, -the bracket and the starting bar line will not be displayed as standard -behavior. This can be changed with: - - -@code{\\override [staffcontext].SystemStartBracket #'collapse-height = -#1} - and - -@code{\\override [staffcontext].SystemStartBar #'collapse-height = #1} - - -This applies to all staff contexts with -@code{systemStartDelimiter}-property set to @code{'SystemStartBracket}. - - - -For staff contexts with @code{'SystemStartBrace}, such as -@code{PianoStaff}, this tweaking can be used as well. - - - -" } -% begin verbatim -\layout { - ragged-right = ##t - indent = 0\cm -} - -\score { - \new StaffGroup << - % Must be lower than your actual amount off staff lines - \override StaffGroup.SystemStartBracket #'collapse-height = #1 - \override Score.SystemStartBar #'collapse-height = #1 - \new Staff { - c'4 d' e' f' - } - >> -} - -\score { - \new PianoStaff << - \override PianoStaff.SystemStartBrace #'collapse-height = #1 - \override Score.SystemStartBar #'collapse-height = #1 - \new Staff { - c'4 d' e' f' - } - >> + texidoces = " +Si hay un solo pentagrama en un de los tipos de sistema +@code{ChoirStaff} o @code{StaffGroup}, el comportamiento +predeterminado es que no se imprima el corchete en la barra inicial. +Esto se puede cambiar sobreescribiendo las propiedades adecuadas. + +Observe que en contextos como @code{PianoStaff} y +@code{GrandStaff} en que los sistemas empiezan con una llave en +lugar de un corchete, se debe establecer el valor de una propiedad +distinta, como se ve en el segundo sistema del ejemplo. + +" + doctitlees = "Mostrar corchete o llave en grupos de un solo pentagrama" + + + lsrtags = "staff-notation,tweaks-and-overrides" + texidoc = "If there is only one staff in one of the staff types +@code{ChoirStaff} or @code{StaffGroup}, the bracket and the starting +bar line will not be displayed as standard behavior. This can be changed +by overriding the relevant properties. + +Note that in contexts such as @code{PianoStaff} and @code{GrandStaff} +where the systems begin with a brace instead of a bracket, another +property has to be set, as shown on the second system in the example. +" + doctitle = "Display bracket with only one staff in a system" +} % begin verbatim + + +\markup \left-column { + \score { + \new StaffGroup << + % Must be lower than the actual number of staff lines + \override StaffGroup.SystemStartBracket #'collapse-height = #1 + \override Score.SystemStartBar #'collapse-height = #1 + \new Staff { + c'1 + } + >> + \layout { } + } + \score { + \new PianoStaff << + \override PianoStaff.SystemStartBrace #'collapse-height = #1 + \override Score.SystemStartBar #'collapse-height = #1 + \new Staff { + c'1 + } + >> + \layout { } + } }