Recently in some LaTeX documentation I noticed that there is a special LaTeX command for the symbol meaning "corresponds to", which is similar to an equal sign with a hat on top. \hat{=} or \widehat{=} both do not give satisfying results (my personal view). Unfortunately, I cannot remember which documentation it was! Does anyone know the command or the documentation where to find it?

The symbol I am looking for:

The symbol I am looking for

PS: I have already tried detexify but it didn't produce anything useful! Also, browsing the comprehensive LaTeX symbol list wasn't successful.

  • $\cong$ might be what you want. Other related symbols are \simeq, \sim, \approx. There is a symbol bible out on the web called symbols-A4.pdf. Very useful. Commented Mar 20, 2013 at 12:21
  • In addition to trying the above, could you perhaps draw what you want and upload it here? (Carefully drawing it on paper and then taking a picture is probably the easiest way.) Mathematical notation varies greatly from region to region; e.g. my training urges me to use something similar to \func. Commented Mar 20, 2013 at 12:25
  • 4
    Since you even linked to the Comprehensive LaTeX symbol list: Table 76, second column, last row on page 32 ;-)
    – mafp
    Commented Mar 20, 2013 at 12:32
  • 4
    I addition to @mafp's command \mathrel{\widehat{=}} might help you. It would help us, if you discribe, what is not good with the commands you found. Commented Mar 20, 2013 at 12:35
  • 1
    \mathrel{\widehat{=}} and \widehat{=} are actually the same as they will produce the same symbol. The only difference (at least to my knowledge) is, that the former tells tex it is a relation symbol which results in more free space in front and behind it. What ever symbol you use at the end: it might be a good idea to put it into \mathrel{}for that particular reason. Commented Mar 20, 2013 at 13:07

1 Answer 1


Try this. Of course, the parameters can be adjusted to change vertical separation height or horizontal width of wedge relative to = sign, or aspect ratio of wedge. Note that the appearance of this is not quite the same as \hateq cited in comments above, but better conforms to the symbol illustrated by the questioner.

REVISED SOLUTION eliminated use of array to make space around \equalhat compatible with \mathrel.

x^2 \equalhat \ensurestackMath{\Centerstack[c]{a b c}}

a &\equalhat b \\
a &= b

enter image description here





$x^2 \equalhat \begin{array}{c}a\\b\\c\end{array}$


enter image description here

  • What I don't like with this solution is that $a \equalhat b$ and $a = b$ have different spacing. Can this be fixed?
    – bers
    Commented Feb 3, 2016 at 17:30
  • @bers That is a problem with the array environment, as I understand it. I will give thought to fixing that (after I get back from next meeting). Commented Feb 3, 2016 at 17:58
  • @bers One quick and simple fix is to edit the \equalhat definition by adding a \! at the very beginning and very end of the definition. Commented Feb 3, 2016 at 18:20
  • Sure, this work, but rather imperfectly (if what one is after is alignment with the regular = character).
    – bers
    Commented Feb 3, 2016 at 18:34
  • @bers I am not sure that the quick fix is imperfect, but in any event, I have revised the solution to eliminate the use of array. Commented Feb 3, 2016 at 19:12

Not the answer you're looking for? Browse other questions tagged .