LSR: Update.
[lilypond.git] / input / lsr / removing-the-first-empty-line.ly
blob4d8c42d5931b7f103d5fb841cfdc55945cdc38e4
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.55"
5 \header {
6 lsrtags = "staff-notation, tweaks-and-overrides, breaks"
8 texidoc = "
9 The first empty staff can also be removed from the score by setting the
10 @code{VerticalAxisGroup} property @code{remove-first}. This can be done
11 globally inside the @code{\\layout} block, or locally inside the
12 specific staff that should be removed. In the latter case, you have to
13 specify the context (@code{Staff} applies only to the current staff) in
14 front of the property.
16 The lower staff of the second staff group is not removed, because the
17 setting applies only to the specific staff inside of which it is
18 written.
21 doctitle = "Removing the first empty line"
22 } % begin verbatim
23 \layout {
24 \context {
25 \RemoveEmptyStaffContext
26 % To use the setting globally, uncomment the following line:
27 % \override VerticalAxisGroup #'remove-first = ##t
30 \new StaffGroup <<
31 \new Staff \relative c' {
32 e4 f g a \break
35 \new Staff {
36 % To use the setting globally, comment this line,
37 % uncomment the line in the \layout block above
38 \override Staff.VerticalAxisGroup #'remove-first = ##t
39 R1 \break
43 \new StaffGroup <<
44 \new Staff \relative c' {
45 e4 f g a \break
48 \new Staff {
49 R1 \break