A: 

I'd suggest using HTML as the container, with MathML and SVG inline in the document. That way it's easy to reposition and stack graphics/equations/text the way you want with CSS.

The other option I can think of is the foreignObject element in svg, which can contain e.g HTML or MathML.

Erik Dahlström