Preamble:
In some applications (astronomy, cosmology, etc), it is useful to measure things in solar quantities, say distances in $R_\odot$ or masses in $M_\odot$, and so on. Now and then I see Mathematica plots in respected papers, failing to display the symbol $\odot$ properly.
What happens:
In Mathematica the symbol is called \[CircleDot]
. So, I write (it looks somewhat better in the cell):
Style["\!\(\*SubscriptBox[\(M\), \(\[CircleDot]\)]\)"] // TraditionalForm
As one can see, the symbol is cropped, and it is worrying.
Half of the solution:
Use ScriptBaseLineShifts
, for example
Style["\!\(\*SubscriptBox[\(M\), \(\[CircleDot]\)]\)",
{ScriptBaselineShifts -> {-0.15}}] // TraditionalForm
However, this affects other indices, consider:
(Method 1, cropped)
versus
(Method 2, other indices affected).
Question:
How to make a nice looking $\mathrm{log_{10} M/M_{\odot}}$ in Mathematica in Style
framework?
I couldn't find an analogue of StringJoin
for Style
expressions, and neither could I find a way to move indices around without using Style
options (which one typically needs in the end anyway).
I am under Ubuntu 14, MMA 10, and was observed in older Mathematica version too.