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.

4
  • $\begingroup$ That doesn't generalize well beyond the simple example. The expression I need is more along the lines of P[b|X,Overscript[\[CapitalTheta], ^]\p]/P[Overscript[b, ^]| ...], which I have to build with a mess like ToString[p],"P("<>ToString[p]<>"|X,Overscript[\[CapitalTheta], ^]\\" <> ToString[p]<> ") / P( "<>ToString@StringForm["Overscript[``, ^]",p]<>"|...)", which would be made yet worse if I wanted to fixe the italicized $\widehat b$. $\endgroup$ Commented Sep 10, 2017 at 21:26
  • $\begingroup$ I think I still don't fully understand your issue - for me, something like P[b | X, OverHat@p]/P[OverHat@b | \[Ellipsis]] // TraditionalForm looks like it should. And what do you want to achieve with your mix of StringForm and ToString? Does p have a value assigned? If so, what value? $\endgroup$ Commented Sep 10, 2017 at 22:04
  • $\begingroup$ Let me see if I can work up a more useful MWE (though the process may lead me back to Python; why are strings, and output in general, such a mess in MMA?). $\endgroup$ Commented Sep 10, 2017 at 22:16
  • $\begingroup$ OK, I think (after messing with this for too long) I see and just want to conform. Basically, to get anything interesting done, the idiom for each idem in AxesLabel or FrameLabel needs to be of the form Style[Row@{...},options...]. If that's about right then I think I got it. $\endgroup$ Commented Sep 11, 2017 at 13:18