Currently, the entries in the units summary are converted to base units and displayed in internal text format, which is not really nice.
Also, the spacing around formatted expressions is too big. In the image below, the vertical padding is set to zero, still there is plenty of whitespace above the expressions.

Proposal:
-
To generally display non-string contents of stubs, header, footer and unit summary as formatted SMath expression.
-
To adjust the vertical padding of symbolic expressions