I'd like to typeset a problem solution highlighting dimensional analysis in LaTeX. What is the best way to format the following in LaTeX?
1.345 g | 0.5 L | 1000 cm^3 ---------|-------|----------- = 0.6725 g cm^3 | | 1 L
I could use a table I guess but that seems wrong. A set of
\frac commands would also work but not give exactly the same visual affect. (It would be really nice to cancel the units in the expression as well). Aside from digging into pstricks is there a better way to do this?