We may notice that the numerator and denominator in the following fraction are not aligned. And, to me it does not look good.
How to align the numerator and denominator?
\documentclass{article}
\usepackage{amsmath,mathrsfs,xcolor,mathtools}
\let\xoverline\overline % supply your definition
\begin{document}
\begin{equation}
\dfrac{1-k^{m+n+d}}{1-k}
\end{equation}
\end{document}
The above yields:


\frac{1-k^{m+n+d}}{1-k^{\hphantom{m+n+d}}}– egreg Sep 25 '12 at 08:52\dfrac{1-k^{m+n+d}}{1-k\quad}But I'm not sure it looks nicer than the default one. – yo' Sep 25 '12 at 09:42\dfrac{1-k^{m+n+d}}{1-k\hfill}– morbusg Sep 25 '12 at 14:34\dfrac{1-k^S}{1-k}withS=m+n+d? – projetmbc Sep 25 '12 at 15:07\;:\[ \dfrac{1-k^{m+n+d}}{\;\;1-k} \]or\[ \frac{1-k^{m+n+d}}{1-k\;\;} \]– Américo Tavares Sep 25 '12 at 16:04\frac{1-k^{\mathrlap{m+n+d}}}{1-k}. I'd still recommend leaving it as is or using\hphantomas per @egreg's solution. This requires themathtoolspackage to use as is. Otherwise use\rlap{$ ... $}– Peter Grill Sep 25 '12 at 17:05