Hi Matt,
Actually, you can stick an override in the note entry of the music
itself if you want to.
In fact, there are three override locations. All three override
locations are equivalent:
1. In a \context block (which lives within the a \layout block)
2. In a \with block (which follows context instantiation immediately)
3. In the note entry of the actual music
1. Here's an override in a \context block, as before:
\score {
\relative c'' {
c4\startGroup\startGroup
c4\stopGroup
c4\startGroup
c4\stopGroup\stopGroup
}
\layout {
\context {
\Staff \consists "Horizontal_bracket_engraver"
\override HorizontalBracket #'direction = #up
}}}
2. Here's an override in a \with block:
\score {
\new Staff \with {
\consists "Horizontal_bracket_engraver"
\override HorizontalBracket #'direction = #up
} {
\relative c'' {
c4\startGroup\startGroup
c4\stopGroup
c4\startGroup
c4\stopGroup\stopGroup
}
}
}
3. And here's an override in the note entry of the music itself:
\score {
\new Staff \with {
\consists "Horizontal_bracket_engraver"
} {
\override Staff.HorizontalBracket #'direction = #up
\relative c'' {
c4\startGroup\startGroup
c4\stopGroup
c4\startGroup
c4\stopGroup\stopGroup
}
}
}
Gurus, are there any other override locations? Or just these three?