Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • $\begingroup$ Thanks Jens. Is HoldForm@InputForm the same as HoldForm[InputForm[...]]? $\endgroup$ Commented Mar 21, 2012 at 6:32
  • $\begingroup$ Yes, it is indeed. $\endgroup$ Commented Mar 21, 2012 at 6:46
  • $\begingroup$ @Jens, I was trying to reproduce what you did and I realized that it does not work in Mathematica 10 but it does in Mathematica 9. Similarly, Plot[x, {x, -3, 3}, PlotLegends -> Text[TraditionalForm[x]], Epilog -> Text[x, {3, 1}]] puts both x's in TraditionalForm in version 9 but not in version 10. Is this supposed to be the case? Is there another work around? $\endgroup$ Commented Jul 21, 2014 at 20:54
  • 1
    $\begingroup$ @BenAllgeier I also see this problem, and I think it's a bug in version 10. I'm currently mostly using version 8 because I want to wait until the bugs are fixed. In the meantime, maybe you can instead use my answer here, until we figure out what's wrong with HoldForm. I'll update this when I know more... $\endgroup$ Commented Jul 21, 2014 at 21:39
  • $\begingroup$ @Jens, I could not get it to work in version 10. I am not sure I mastered your technique from your other posts. How did you get \!\( \*UnderoverscriptBox[\(\[Sum]\), \(i = 1\), \(n\)] \*SubscriptBox[\(x\), \(i\)]\)/\!\( \*UnderoverscriptBox[\(\[Sum]\), \(i = 1\), \(n\)] \*SubscriptBox[\(y\), \(i\)]\) == \!\( \*UnderoverscriptBox[\(\[Sum]\), \(i = 1\), \(n\)]\((\(( \*FractionBox[ SubscriptBox[\(x\), \(i\)], SubscriptBox[\(y\), \(i\)]])\) p)\)\)/n Magnify[%] // TraditionalForm from here $\endgroup$ Commented Jul 21, 2014 at 23:47