Mathematica excels at enabling the user to produce complicated output. Indeed, it is an integral component of many a Scientific and Technical publications.
There are many solutions for producing the large amount of symbols and structures used by modern mathematics. Most of these are concerned with little more than ensuring that symbols are accurately placed upon the printed page or screen. Mathematica, on the other hand, excels at not only on ensuring the placement, yet also performing the underlying calculations and symbolic manipulations that ultimately define the meaning those symbols. Indeed, one omitted or inaccurately placed symbol may alter the entire meaning and render the entire publication useless for its author and audience.
Mathematica supports the notion of Input and Output Forms which govern its understanding of how to interpret input and process output.
Input forms are...
Output forms are...
Mathematica also integrates well with exceedingly popular page languages such TeX. And, for those needing to publish output as an element of a webpage, Mathematica supports relatively recent MathML.