This question already has an answer here:

In graphing I hope to output the following format for example $|a_{1020}|^2$.

I need to use this as my axes label in a plot and to type this expression in Mathematica. I am fully aware there is a guideline post. This question (with an answer below) serves as a specific case (some elements may quite commonly occur in graphing) for future reader. If not, please close this question but do not downvote it.

If kindly uplift the downvote as I am closed to getting banned due to this one question. If you find this question useful as a special case, please upvote it.


marked as duplicate by dr.blochwave, MarcoB, Mr.Wizard Jul 9 '15 at 17:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ Related: mathematica.stackexchange.com/a/76943. Possibly a duplicate if the apparent TeX form above is what is specifically desired. $\endgroup$ – Michael E2 Jul 9 '15 at 16:46
  • $\begingroup$ kwy, I am provisionally closing this as a duplicate of the post linked by Michael above. If you feel that your question is not answered there please edit your Question to explain why. $\endgroup$ – Mr.Wizard Jul 9 '15 at 17:58
  • $\begingroup$ Thanks @yohbs. I have add one more picture. The output of mathematica results in a spacing for long-digit number. How to overcome this problem? $\endgroup$ – Ka-Wa Yip Jul 9 '15 at 7:20
  • $\begingroup$ Use quotes to force Mathematica to treat stuff as strings and not as numbers/variabels. TraditionalForm[Abs[Subscript["a", "102900"]]^2] $\endgroup$ – yohbs Jul 9 '15 at 7:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.