0

I want to have equations below each other and want to verify the equations by using \overset. I am using:

\begin{align*} 
3 &= 3\\
\overset{\text{...}}{&=}
\end{align*}

But now i don't have the equations below each other because the &= command is not working anymore. Any clues?

Thank you!

Zarko
  • 296,517
chri11
  • 177

2 Answers2

1

Here's how you can do, but the result is not really pretty, so I add a couple of suggestions.

\documentclass{article}
\usepackage{amsmath}

\begin{document}

The following works
\begin{align*}
3 &\overset{\hphantom{\text{Chebyshev}}}{=} 3\\
  &\overset{\text{Chebyshev}}{=} 1+2
\end{align*}
but this is much better, in my opinion
\begin{align*}
3 &= 3\\
  &= 1+2 &&\text{(Chebyshev)}
\end{align*}
If less space is wanted, then you can do like this
\begin{alignat*}{2}
3 &= 3\\
  &= 1+2 &\qquad&\text{(Chebyshev)}
\end{alignat*}

\end{document}

enter image description here

egreg
  • 1,121,712
0

Try

\documentclass[a4paper,12pt]{article}
    \usepackage{mathtools}
\begin{document}
\begin{align*} 
3 &= 3\\
& \phantom{} \overset{a}{=}
\end{align*}
\end{document} 

Alternate

\documentclass[a4paper,12pt]{article}
    \usepackage{amsmath}
    \usepackage{mathtools}
\begin{document}
\begin{align*} 
3  &= 3\\
   &= b \quad \text{(Cauchy-Darboux)}
\end{align*}
\end{document} 
Mensch
  • 65,388
Denis
  • 5,267
  • Thank you for your answer. This is almost working but he then puts "a" below the equation so if i have a longer term like Tschebyscheff then the "T" is below the equation but not the equation itself. – chri11 Nov 18 '18 at 13:23
  • OK. I would not use an \overset construct then. See an alternate construct below. – Denis Nov 18 '18 at 14:52