The spacing I'm getting with the \prescript
command from the mathtools
package seems wrong. Here is a MWE:
\documentclass{article}
\usepackage{amsmath,mathtools}
\begin{document}
$\prescript{14}{2}{\mathbf{C}}^{5+}_{2}$
\end{document}
which produces this (red line added to make difference clearer):
I suspect it's just a problem with the command itself – if so, is there a known fix? If not, what should I be doing differently? (Of course, regardless of whose fault it is, one solution is just to use a different package for this purpose.)
Best Answer
A concise solution in this instance is presented via the
tensor
package:Not sure about the extent of your usage, but the following also corrects this in your specific case:
The
leftidx
package provides\leftidx{<left>}{<base>}{<right>}
prints<base>
with a left index<left>
and right index<right>
. However, it also suffers from the same problem by default. The alternative is to set<base>
twice, first only as a\vphantom
. The use of\vphantom{+}
is to also improve the adjustment vertically. Horizontal alignment for the left index is achieved via\phantom{14}\mathllap{2}
.