Math & ScienceInappropriate Superscript Placement in Denominator

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
cornail
Posts: 3
Joined: Fri May 08, 2009 7:44 pm

Inappropriate Superscript Placement in Denominator

Post by cornail »

Hi everyone,

in the following example, the placement of the asterisk in the superscript is different in the numerator and the denominator, it appears lower in the latter case. I do not know whether this is a bug or a feature. I would like to have them rendered the same way (i.e. as in the numerator). Is it possible?

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage{amsmath}

\begin{document}
  \begin{equation*}
    \max_{\mathbf{G}}\ \frac{\int_{R} \mathbf{G}^* \cdot \mathbf{G} \
    \mathrm{d} \Omega}{\int_{\Omega} \mathbf{G}^* \cdot \mathbf{G} \ \mathrm{d}
    \Omega}
  \end{equation*}
\end{document}
I have attached a picture rendered by my PDFLaTeX (pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)).

Thank you very much in advance,
Kornel
Attachments
The example as rendered by my PDFLaTeX
The example as rendered by my PDFLaTeX
ast.png (8.75 KiB) Viewed 2306 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Inappropriate Superscript Placement in Denominator

Post by localghost »

Hm. Seems to be a design failure. Add a \strut as a workaround.

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage{mathtools}    % loads »amsmath«

\begin{document}
  \begin{equation*}
    \max_{\mathbf{G}}\ \frac{\int_{R} \mathbf{G}\strut^\ast \cdot \mathbf{G} \
    \mathrm{d} \Omega}{\int_{\Omega} \mathbf{G}\strut^\ast \cdot \mathbf{G} \ \mathrm{d}
    \Omega}
  \end{equation*}
\end{document}

Best regards and welcome to the board
Thorsten
Post Reply