34

How do you write the equal-to symbol with delta on top ("delta-equal to")? One similar to http://www.decodeunicode.org/de/u+225c. Are special packages required for that? It is supposed to be used for definition of equalities, similar to :=.

5
  • 4
    Try $\overset{\Delta}{=}$.
    – azetina
    Commented Mar 5, 2014 at 14:57
  • 12
    \triangleq, after \usepackage{amssymb}
    – egreg
    Commented Mar 5, 2014 at 15:06
  • @egreg, when is this \triangleq used? what is it for?
    – Nathan G
    Commented Mar 3 at 17:14
  • @NathanB No idea. I’ve never used it myself.
    – egreg
    Commented Mar 3 at 20:36
  • Defines an equality. Google knows this too.
    – the swine
    Commented Mar 6 at 0:21

2 Answers 2

53

How about \triangleq from the AMS fonts? Loading \usepackage{amssymb} will make the command available

1
  • 2
    actually, \usepackage{amssymb} is needed for this. while amsmath loads amsfonts, not all the symbols are "named" unless amssymb is loaded explicitly. Commented Mar 5, 2014 at 15:22
10

EDITED to ensure rendering of the = in math mode. For more flexibility in the vertical placement, than the \overset (which requires amsmath package), you could try

\documentclass{article}
\usepackage{stackengine}
\def\delequal{\mathrel{\ensurestackMath{\stackon[1pt]{=}{\scriptstyle\Delta}}}}
\begin{document}
$a \delequal b$
\end{document}

enter image description here

The optional argument to \stackon specifies the vertical gap between symbols. If you wanted the delta smaller, you could add \scriptscriptstyle in place of the \scriptstyle:

enter image description here

For comparison, here is $a \overset{\Delta}{=} b$. Note the vertical offset is significantly larger than what I proposed.

enter image description here

5
  • 2
    Maybe illustrate the \overset{}{} just to compare.
    – azetina
    Commented Mar 5, 2014 at 15:04
  • 3
    Thanks for the exhaustive answer, I really appreciate it, I'll keep this in mind when creating other stacked symbol monstrosities, but today the simpler \triangleq saves the day (and my latex refuses to download stackengine.sty for some reason).
    – the swine
    Commented Mar 5, 2014 at 15:12
  • 1
    Understood. Best wishes. FYI, the package is at ctan.org/pkg/stackengine Commented Mar 5, 2014 at 15:13
  • I needed $=$, not =, as in \def\delequal{\mathrel{\stackon[1pt]{$=$}{$\scriptscriptstyle\Delta$}}} to get a correct result, since the first argument of \stackon appears to be rendered in text mode just like the second. At least, with = the output looks wrong and different. Commented Mar 24, 2016 at 9:32
  • 1
    @Blaisorblade Thank you for pointing that out. For some fonts, there is no difference I think, but to guarantee math mode rendering, I have updated the answer. Commented Mar 24, 2016 at 10:06

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