In math mode, I want to typeset a beta character over an equals sign.

I've tried $=^{\beta}$, but that produces a superscript to the right.

beta superscript

I want the beta to be exactly above the equals sign. How do I do this?

  • 3
    Do search for \stackrel or \overset or, for that matter, the stackengine package. – Steven B. Segletes Dec 8 '14 at 12:22
  • @StevenB.Segletes please post that as an answer, as the accepted answer is simply incorrect. – David Carlisle Dec 8 '14 at 14:03
  • Please note that Steven's answer is correct, while the other one isn't. Check the fact that in the \mathop answer the = sign is in a different vertical position and that spaces around it in a formula are wrong. – egreg Dec 8 '14 at 16:29

As suggested in my comment, the \overset macro of the amsmath package is designed to accomplish this task.

\[ A \overset{\beta}{=} B \]

enter image description here

Using \stackrel, this is the syntax:

\[ A \stackrel{\beta}{=} B \]

And, finally, with stackengine,

\[ A \mathrel{\stackon[1pt]{=}{\scriptstyle\beta}} B \]

For something this straightforward, stackengine is overkill, but it can be useful if there are multiple things to be stacked, if the vertical stacking gaps need tweaking, or if special horizontal alignments must be applied.



$ \mathop  = \limits^\beta $

enter image description here

  • 1
    This loses the relation spacing that = should have see $ a \mathop = \limits^\beta b$ – David Carlisle Dec 8 '14 at 12:48
  • This is incorrect. – egreg Dec 8 '14 at 14:33

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.