Inserting Windows/Doors across split wall?

Any tips/guides on how to insert windows or doors that may go across split wall?
Sometimes you may need to split a wall to pitch to a gable wall that had to be split to make it project
How do you then insert a window or a door that goes across the split?

I would use the custom window tool to add the window and then use the beam to carry the load. I would then draw a small wall under and a small wall over.