| [ << Changing defaults ] | [Top][Contents][Index] | [ Markup commands >> ] |
| [ < Output definitions – blueprints for contexts ] | [ Up : Contexts explained ] | [ Top-level contexts – staff containers > ] |
Score – the master of all contexts
This is the top-level notation context.12 No other context
can contain a Score context. This context handles the
administration of time signatures. It also makes sure that items
such as clefs, time signatures, and key signatures are aligned
across staves.
You cannot explicitly instantiate a Score context (since it
is not contained in any other context). It is instantiated
automatically when an output definition (a \score or
\layout block) is processed.
An alias called Timing is established by the
Timing_translator in whatever context it is initialized,
and the timing variables are then copied from wherever
Timing had been previously established. The alias at
Score level provides a target for initializing
Timing variables in layout definitions before any
Timing_translator has been run.
Footnotes
(12)
There exists a
context called Global that is even one level higher than
Score, and which is the hard-coded entry point for
LilyPond. However, this is not meant to be modified; you will
need this context only if you are going to implement an engraver
in Scheme and can be safely ignored otherwise.