Update: here is an example, except that it is not doing the spacing quite right. (The stuff in typewriter font is the solutions.) The point is that I want to leave the spacing of the original exam content alone, while inserting the solutions---complete with formatting---in the gaps left behind.