How do I prevent my text from being italicized when I annotate it with additional glyphs?
For example if I add a "hat" to a variable, z as in $\widehat z$, but want z to not be italicized to match its use elsewhere:
Remove[z];
Plot[x^2, {x,-5,5},
AxesLabel->{"P("<>ToString@StringForm["``",z]<>")",
"Q("<>ToString@StringForm["Overscript[``, ^]",z]<>")"},
PlotTheme->"Classic"]
Conversely, how do I force z to be italic when it lacks an annotation (ToString@Style[z,Italic] doesn't do the trick)?


P[b|X,Overscript[\[CapitalTheta], ^]\p]/P[Overscript[b, ^]| ...], which I have to build with a mess likeToString[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$. – orome Sep 10 '17 at 21:26P[b | X, OverHat@p]/P[OverHat@b | \[Ellipsis]] // TraditionalFormlooks like it should. And what do you want to achieve with your mix ofStringFormandToString? Doesphave a value assigned? If so, what value? – Lukas Lang Sep 10 '17 at 22:04AxesLabelorFrameLabelneeds to be of the formStyle[Row@{...},options...]. If that's about right then I think I got it. – orome Sep 11 '17 at 13:18