intertwingly

It’s just data

Resizable Inline Images


Jacques Distler: One of the nicest features of using MathML and SVG is that the resulting equations and figures are “resolution-independent.” They rescale, along with the text, when the user uses the “text zoom” feature of their browser.  Here’s how to create inline SVG figures which rescale in the fashion just described.

Like most things, this seems so obvious in retrospect.  Believe it or not, I had tried various combinations (mostly focusing on usage of the style attribute within the svg itself), and never stumbled upon this obvious solution.

I’m now deploying this blog wide.  Thanks!