The node you are looking for is at Contexts and engravers - Printing music with different time signatures.