Is it possible to make LaTeX put a bounding box around each element in an equation, as in this file? I am aware of this question, but none of the solutions presented there, which does not require LuaTeX, seem to work within equations containing, e.g., commands like \sum.
I have tried to resolve this "manually" by putting a framebox around each symbol within an equation, but neither that seems to work for commands like \sum, even though it do work for simpler symbols such as digits, such as
\fboxrule=.1pt \fboxsep=-\fboxrule
$\framebox[\width]{1}$
