I'm coding a UI in C# for a particular discrete math problem (not important what) and I'd like to be able to output a proper fraction, and letters with subscripts (and superscripts) to a label. For example:
(a_1 x a_2 x ... x a_n)^6
_________________________
n
But nicely, and with actual super and subscripts. I'm familiar with LaTeX.
Any ideas?