Hallo liebe Lilypondianer,
ich möchte gern Platz sparen und auch die ersten leeren Systeme entfernen. In snippets.pdf (For LilyPond version 2.13.33, unter Staff notation, Seite 126) steht der unten zitierte Abschnitt. Den fett markierten Code habe ich übernommen, den
\override ent-kommentiert
Dann gibt es einen Fehler wegen
\Staff:
Fehler: syntax error, unexpected CONTEXT_DEF_IDENTIFIER
\Staff
\RemoveEmptyStaffContext
Und die erste leere Notenzeile ist auch nicht unterdrückt - auch wenn ich das
\Staff wegnehme und die Übersetzung ohne Fehler durchgeht.
Das
\override Staff.VerticalAxisGroup #'remove-first = ##t in den jewiligen Staffs bringt auch nicht den gewünschten Erfolg.
Gibt es da Abhängigkeiten zu anderen Teile in dem unten zitierten Abschnitt? Oder gibt es eine neue Möglichkeit, das zu erreichen?
(Mit ossia-Systemen hab ichs auch schon probiert. Da bin ich aber mit ganz seltsamen Effekten gescheitert. (Übereinander gedruckte Noten, die eigentlich hintereinander gehören))
Zur Illustration hänge ich 'mal das Ergebnis hier dran.
Any help is really appreciated!
Grüße und Dank
von Radler
Removing the first empty line
The first empty staff can also be removed from the score by setting the VerticalAxisGroup
property remove-first. This can be done globally inside the \layout block, or locally inside
the specific staff that should be removed. In the latter case, you have to specify the context
(Staff applies only to the current staff) in front of the property.
The lower staff of the second staff group is not removed, because the setting applies only to
the specific staff inside of which it is written.
\layout {
\context {
\Staff \RemoveEmptyStaves
% To use the setting globally, uncomment the following line:
% \override VerticalAxisGroup #'remove-first = ##t
}
}
\new StaffGroup <<
\new Staff \relative c' {
e4 f g a \break
c1
}
\new Staff {
% To use the setting globally, comment this line,
% uncomment the line in the \layout block above
\override Staff.VerticalAxisGroup #'remove-first = ##t
R1 \break
R
}
>>
\new StaffGroup <<
\new Staff \relative c' {
e4 f g a \break
c1
}
\new Staff {
R1 \break
R
}
>>[/tt]