X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fremoving-the-first-empty-line.ly;h=61c8d537b99a8898106d0878cc922f9ee78dfe8c;hb=f0a8d907612e79271f97a2936165f57505b12350;hp=3fd463cda091e2dda81a70ac2991daf612b27025;hpb=b01ca49c05566b73d690ae84fda6040b24fcf73f;p=lilypond.git diff --git a/Documentation/snippets/removing-the-first-empty-line.ly b/Documentation/snippets/removing-the-first-empty-line.ly index 3fd463cda0..61c8d537b9 100644 --- a/Documentation/snippets/removing-the-first-empty-line.ly +++ b/Documentation/snippets/removing-the-first-empty-line.ly @@ -4,63 +4,10 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.15.2" +\version "2.17.25" \header { - lsrtags = "staff-notation, tweaks-and-overrides, breaks" - -%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c - 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 @@ -78,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 << @@ -93,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 } @@ -108,4 +56,3 @@ written. R } >> -