X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fremoving-the-first-empty-line.ly;h=6cad882e87f416581562e381d62dd9074dfcc4cd;hb=25ca54b640c067e2286a1d7ba47f24a1b4dc070e;hp=9860646e0a0de392d56e89cb7c3196cc393c5e26;hpb=42cf5468694e6757494d4505ab9b6ea7bc591e59;p=lilypond.git diff --git a/Documentation/snippets/removing-the-first-empty-line.ly b/Documentation/snippets/removing-the-first-empty-line.ly index 9860646e0a..6cad882e87 100644 --- a/Documentation/snippets/removing-the-first-empty-line.ly +++ b/Documentation/snippets/removing-the-first-empty-line.ly @@ -1,63 +1,13 @@ -%% Do not edit this file; it is automatically +%% DO NOT EDIT this file manually; it is automatically %% generated from LSR http://lsr.dsi.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% %% This file is in the public domain. -\version "2.13.39" +\version "2.17.6" \header { - lsrtags = "staff-notation, tweaks-and-overrides, breaks" - -%% Translation of GIT committish: 5160eccb26cee0bfd802d844233e4a8d795a1e94 - texidoces = " -El primer pentagrama vacío también se puede suprimir de la -partitura estableciendo la propiedad @code{remove-first} de -@code{VerticalAxisGroup}. Esto se puede hacer globalmente dentro -del bloque @code{\\layout}, o localmente dentro del pentagrama -concreto que se quiere suprimir. En este último caso, tenemos que -especificar el contexto (@code{Staff} se aplica sólo al pentagrama -actual) delante de la propiedad. - -El pentagrama inferior del segundo grupo no se elimina, porque el -ajuste sólo se aplica al pentagrama concreto dentro del que se -escribe. - -" - doctitlees = "Quitar la primera línea vacía" - - -%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 - texidocde = " -Ein leeres Notensystem kann auch aus der ersten Zeile einer Partitur -entfernt werden, indem die Eigenschaft @code{remove-first} der -@code{VerticalAxisGroup}-Eigenschaft eingesetzt wird. Das kann -man global in einer @code{\\layout}-Umgebung oder lokal in dem -bestimmten Notensystem machen, das entfernt werden soll. In letzterem -Fall muss man den Kontext angeben. - -Das untere Notensystem der zweiten Systemgruppe wird nicht entfernt, -weil in die Einstellungen in dem Schnipsel nur für das eine Notensystem -gültig sind. - -" - doctitlede = "Die erste leere Notenzeile auch entfernen" - -%% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e - texidocfr = " -Par défaut, le premier système comportera absolument toutes les portées. -Si vous voulez masquer les portées vides y compris pour le premier -système, vous devrez activer la propriété @code{remove-first} du -@code{VerticalAxisGroup}. Mentionnée dans un bloc @code{\\layout}, -cette commande agira de manière globale. Pour qu'elle ne soit effective -que pour une portée individuelle, vous devrez également spécifier le -contexte (@code{Staff} pour qu'il ne concerne que la portée en cours) en -préfixe de la propriété. - -La première ligne inférieure du deuxième @code{StaffGroup} est bien -présente, pour la simple raison que le réglage en question ne s'applique -qu'à la portée dans laquelle il a été inscrit. - -" - doctitlefr = "Masquage de la première ligne si elle est vide" - + lsrtags = "breaks, staff-notation, tweaks-and-overrides" texidoc = " The first empty staff can also be removed from the score by setting the @@ -75,11 +25,12 @@ written. doctitle = "Removing the first empty line" } % begin verbatim + \layout { \context { \Staff \RemoveEmptyStaves % To use the setting globally, uncomment the following line: - % \override VerticalAxisGroup #'remove-first = ##t + % \override VerticalAxisGroup.remove-first = ##t } } \new StaffGroup << @@ -90,7 +41,7 @@ written. \new Staff { % To use the setting globally, comment this line, % uncomment the line in the \layout block above - \override Staff.VerticalAxisGroup #'remove-first = ##t + \override Staff.VerticalAxisGroup.remove-first = ##t R1 \break R } @@ -105,4 +56,3 @@ written. R } >> -