If you have multiple voices in a single staff and you want a single
ambitus per staff rather than per voice, add the
@code{Ambitus_engraver} to the @code{Staff} context rather than to the
-@code{Voice} context. Therefore, in this example, one need to use
-
-@code{\\override Staff.Ambitus #'X-offset = #-1.0}
-
-to move the ambitus to the left. The same effect could also have been
-achieved with @code{extra-offset}, but then the formatting system would
-not reserve space for the moved object.
+@code{Voice} context.
" }
% begin verbatim
\new Staff \with {
}
<<
\new Voice \relative c'' {
+ % eliminates collision
\override Staff.Ambitus #'X-offset = #-1.0
\voiceOne
c4 a d e f1
" }
% begin verbatim
\relative c' {
- \new Staff {
- \set Staff.keySignature =
- #`(((0 . 3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
- c d e fis aes bes c2
- }
- }
+ \set Staff.keySignature =
+ #`(((0 . 3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
+ c d e fis aes bes c2
+}