The \override command as it is written in the manual, is intended to be
inserted before the first note in any of the staves.
If you wish, can also insert such an override command in a \layout block,
\layout{
\context{
\Score
\override VerticalAxisGroup #'remove-first = ##t
}
}
See the chapter on Changing Defaults for more information. Even if you use
version 2.8, it may be a good idea to look at the latest version of the
manual,
since it keeps getting better and better and there have been very few
changes in the syntax compared to version 2.8 (at least in the general
principles).
/Mats
Thomas Ruedas wrote:
On Wednesday 28 February 2007 03:53, Mats Bengtsson wrote:
So, how do I get rid of that empty staff at the beginning?
Just read the whole section on "Hiding staves" carefully, and you will
find the answer.
I guess you refer to this sentence:
The first system shows all staves in full. If empty staves should be
removed from the first system too, set remove-first to true in
VerticalAxisGroup.
\override Score.VerticalAxisGroup #'remove-first = ##t
Well, I had tried that, but whereever I insert this line, I get some error
message when compiling, e.g. when I do it like this:
\layout {
\context {
\override Score.VerticalAxisGroup #'remove-first = ##t
\RemoveEmptyStaffContext }
\context{
\Staff
...
I get the following errmsg:
PianoSonataB_1.ly:432:15: error: syntax error, unexpected '.', expecting
SCM_T or SCM_IDENTIFIER
\override Score
.VerticalAxisGroup #'remove-first = ##t
Is there a bug in the doc or where do I have to insert the line? (My
Lilypond version is 2.8.1.)
Thomas
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user