Defining a Custom Staff Context

Instead of having to type the same customization commands every time you need to use a particular type of staff, you can define a custom staff context and use it instead. For example, instead of typing:

\new Staff \with { ... }

You would type:

\new MyCustomStaff

A custom staff context can have any customizations that you would use in a Staff's \with block. (Tip: the custom staff's definition can be saved in a file that you \include, so you do not have to re-create it every time it is needed.) (At time of writing, Notation Reference 5.1.6 shows how to create a custom voice context, but there is no example of how to create a custom staff context, hence this snippet.)