0

So this is my (simple) problem, I would like to have the superscript (number 2) in a better position compared to the first case which looks really awful to me. A first solution was to add the parentheses but it seems too bad in a long equation to have much of them.

\documentclass{article}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{align}
\dot{\theta}_{M}^{2} && (\dot{\theta}_{M})^{2}
\end{align}
\end{document}

enter image description here

  • Does \dot\theta_M{}^2 look better to you? – Sergei Golovan Dec 29 '17 at 9:12
  • I would like to have the number 2 exaclty above the letter M – it8 Dec 29 '17 at 9:15
  • 1
    Then you can just shift the superscript a bit: \dot\theta_M^{\,\,2} – Sergei Golovan Dec 29 '17 at 9:30
  • This is very good, you should post it as a possible answer. Thank you – it8 Dec 29 '17 at 9:34
1

Like the second layout?

\documentclass{article}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage{makebox}

\begin{document}

\[ \dot{\theta}_{M}^{2}\qquad \dot{\theta}\!_{M}^{\makebox*{$\scriptstyle M$}{$\scriptstyle 2 $}} \]

\end{document} 

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.