]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/removing-the-first-empty-line.ly
Merge commit 'origin' into includes
[lilypond.git] / input / lsr / removing-the-first-empty-line.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.12.0"
4
5 \header {
6   lsrtags = "staff-notation, tweaks-and-overrides, breaks"
7
8   texidoces = "
9 El primer pentagrama vacío también se puede suprimir de la
10 partitura estableciendo la propiedad @code{remove-first} de
11 @code{VerticalAxisGroup}.  Esto se puede hacer globalmente dentro
12 del bloque @code{\\layout}, o localmente dentro del pentagrama
13 concreto que se quiere suprimir.  En este último caso, tenemos que
14 especificar el contexto (@code{Staff} se aplica sólo al pentagrama
15 actual) delante de la propiedad.
16
17 El pentagrama inferior del segundo grupo no se elimina, porque el
18 ajuste sólo se aplica al pentagrama concreto dentro del que se
19 escribe.
20
21 "
22   doctitlees = "Quitar la primera línea vacía"
23
24   texidoc = "
25 The first empty staff can also be removed from the score by setting the
26 @code{VerticalAxisGroup} property @code{remove-first}. This can be done
27 globally inside the @code{\\layout} block, or locally inside the
28 specific staff that should be removed.  In the latter case, you have to
29 specify the context (@code{Staff} applies only to the current staff) in
30 front of the property.
31
32 The lower staff of the second staff group is not removed, because the
33 setting applies only to the specific staff inside of which it is
34 written. 
35
36 "
37   doctitle = "Removing the first empty line"
38 } % begin verbatim
39
40 \layout {
41   \context { 
42     \RemoveEmptyStaffContext 
43     % To use the setting globally, uncomment the following line:
44     % \override VerticalAxisGroup #'remove-first = ##t
45   }
46 }
47 \new StaffGroup <<
48   \new Staff \relative c' {
49     e4 f g a \break
50     c1
51   }
52   \new Staff {
53     % To use the setting globally, comment this line,
54     % uncomment the line in the \layout block above
55     \override Staff.VerticalAxisGroup #'remove-first = ##t
56     R1 \break
57     R
58   }
59 >>
60 \new StaffGroup <<
61   \new Staff \relative c' {
62     e4 f g a \break
63     c1
64   }
65   \new Staff {
66     R1 \break
67     R
68   }
69 >>