]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/removing-the-first-empty-line.ly
Merge branch 'master' into lilypond/translation
[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.11.62"
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 \layout {
40   \context { 
41     \RemoveEmptyStaffContext 
42     % To use the setting globally, uncomment the following line:
43     % \override VerticalAxisGroup #'remove-first = ##t
44   }
45 }
46 \new StaffGroup <<
47   \new Staff \relative c' {
48     e4 f g a \break
49     c1
50   }
51   \new Staff {
52     % To use the setting globally, comment this line,
53     % uncomment the line in the \layout block above
54     \override Staff.VerticalAxisGroup #'remove-first = ##t
55     R1 \break
56     R
57   }
58 >>
59 \new StaffGroup <<
60   \new Staff \relative c' {
61     e4 f g a \break
62     c1
63   }
64   \new Staff {
65     R1 \break
66     R
67   }
68 >>