]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/removing-the-first-empty-line.ly
Doc: Update LSR.
[lilypond.git] / Documentation / snippets / removing-the-first-empty-line.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.16"
5
6 \header {
7   lsrtags = "staff-notation, tweaks-and-overrides, breaks"
8
9 %% Translation of GIT committish: d2119a9e5e951c6ae850322f41444ac98d1ed492
10   texidoces = "
11 El primer pentagrama vacío también se puede suprimir de la
12 partitura estableciendo la propiedad @code{remove-first} de
13 @code{VerticalAxisGroup}.  Esto se puede hacer globalmente dentro
14 del bloque @code{\\layout}, o localmente dentro del pentagrama
15 concreto que se quiere suprimir.  En este último caso, tenemos que
16 especificar el contexto (@code{Staff} se aplica sólo al pentagrama
17 actual) delante de la propiedad.
18
19 El pentagrama inferior del segundo grupo no se elimina, porque el
20 ajuste sólo se aplica al pentagrama concreto dentro del que se
21 escribe.
22
23 "
24   doctitlees = "Quitar la primera línea vacía"
25
26 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
27   texidocde = "
28 Ein leeres Notensystem kann auch aus der ersten Zeile einer Partitur
29 entfernt werden, indem die Eigenschaft @code{remove-first} der
30 @code{VerticalAxisGroup}-Eigenschaft eingesetzt wird.  Das kann
31 man global in einer @code{\\layout}-Umgebung oder lokal in dem
32 bestimmten Notensystem machen, das entfernt werden soll.  In letzterem
33 Fall muss man den Kontext angeben.
34
35 Das untere Notensystem der zweiten Systemgruppe wird nicht entfernt,
36 weil in die Einstellungen in dem Schnipsel nur für das eine Notensystem
37 gültig sind.
38
39 "
40   doctitlede = "Die erste leere Notenzeile auch entfernen"
41 %% Translation of GIT committish: 99dc90bbc369722cf4d3bb9f30b7288762f2167f6
42   texidocfr = "
43 Par défaut, le premier système comportera absolument toutes les portées.
44 Si vous voulez masquer les portées vides y compris pour le premier
45 système, vous devrez activer la propriété @code{remove-first} du
46 @code{VerticalAxisGroup}.  Mentionnée dans un bloc @code{\\layout},
47 cette commande agira de manière globale.  Pour qu'elle ne soit effective
48 que pour une portée individuelle, vous devrez également spécifier le
49 contexte (@code{Staff} pour qu'il ne concerne que la portée en cours) en
50 préfixe de la propriété. 
51
52 La première ligne inférieure du deuxième @code{StaffGroup} est bien
53 présente, pour la simple raison que le réglage en question ne s'applique
54 qu'à la portée dans laquelle il a été inscrit.
55
56 "
57   doctitlefr = "Masquage de la première ligne si elle est vide"
58
59
60   texidoc = "
61 The first empty staff can also be removed from the score by setting the
62 @code{VerticalAxisGroup} property @code{remove-first}. This can be done
63 globally inside the @code{\\layout} block, or locally inside the
64 specific staff that should be removed.  In the latter case, you have to
65 specify the context (@code{Staff} applies only to the current staff) in
66 front of the property.
67
68 The lower staff of the second staff group is not removed, because the
69 setting applies only to the specific staff inside of which it is
70 written.
71
72 "
73   doctitle = "Removing the first empty line"
74 } % begin verbatim
75
76 \layout {
77   \context {
78     \RemoveEmptyStaffContext
79     % To use the setting globally, uncomment the following line:
80     % \override VerticalAxisGroup #'remove-first = ##t
81   }
82 }
83 \new StaffGroup <<
84   \new Staff \relative c' {
85     e4 f g a \break
86     c1
87   }
88   \new Staff {
89     % To use the setting globally, comment this line,
90     % uncomment the line in the \layout block above
91     \override Staff.VerticalAxisGroup #'remove-first = ##t
92     R1 \break
93     R
94   }
95 >>
96 \new StaffGroup <<
97   \new Staff \relative c' {
98     e4 f g a \break
99     c1
100   }
101   \new Staff {
102     R1 \break
103     R
104   }
105 >>
106