I have different parts that have switched from soprano to tenor. I was wondering if there is a way to replicate what the music looks like attached into Dorico?
Input all of your notes into proper staves for each voice part. (Separate parts for S, A, T, B, etc.)
ADD two additional generic “voice” parts and re-name one Soprano/Alto and the other Tenor/Bass. Whenever you have music that you want to be combined all men or all women, use these staves, rather than the separate S A T B staves.
Once you’ve finished all your note entry, turn on “hide empty staves” in the layout options, and put system breaks wherever you need changes to occur from one stave to another. Some manual work will be required here, otherwise you’ll end up with changes mid-stave which will force both instruments to be shown on the affected staves.
The hide empty staves feature will then hide all unwanted staves, and labeling will be correct automatically. (at least if you use labels in the left margins)
To add labels above staves as shown there, it’s honestly faster to just do those by hand with shift-x text. Either create a paragraph style and apply it, or create them once and then just copy and paste them where you want them.
(And, I’ll humbly suggest that you change the piano’s short name to just be a single empty space so it is no longer labeled after the first stave. It doesn’t need a label in this type of score.)