It depends a little bit on exactly what you want to do, but if you're just writing text, don't use Print
. Instead, enter the text directly, making sure you are using a Text
cell and not an Input
cell. In the menu, select:
Format -> Style -> Text
Then type out what you want, like:
5. Limit[f[x]/g[x], x -> a] == Limit[f[x], x->a]/Limit[g[x], x -> a] where ...
Select the expression you want to convert to TraditionalForm
and then in the menu again, select:
Cell -> ConvertTo -> TraditionalForm
... and you should get something like this:
![Hosted by imgur.com]()
You might also find the screencast on typesetting useful:
http://www.wolfram.com/broadcast/screencasts/howtoentermathematicaltypesetting/
If you're actually trying to produce TraditionalForm output programmatically (e.g., with Print
) you might consider using Row
and TraditionalForm
with HoldForm
:
Print[Row[{
"5. ",
TraditionalForm[HoldForm[
Limit[f[x]/g[x], x -> a] == Limit[f[x], x -> a]/Limit[g[x], x -> a]]],
" where ..."
}]]