Exporting Visio diagrams with MathType equation to SVG contains huge empty space, causing weird marigin when included in LaTeX
08:41 03 Apr 2026

It's common practice in my workspace to draw diagrams in Visio and insert equations into them using MathType. I encountered a problem when exporting them to SVG.

In Visio these equations seems to occupy a tiny space within the canvas, but when I open the SVG in inkscape, it shows that these equations are in a much larger box than the canvas itself. This is a problem because I need inkscape to include the diagrams in my LaTeX document, which causes rendering issues.

Equations in Visio Diagrams

Equations in SVG shown by Inkscape

How can I properly configure each of the software so that these boxes in SVG fit the equation itself? I tried [inkscapearea=page] to mitigate the problem, but it doesn't work much.

svg latex visio inkscape mathtype