I have defined the equal by definition sign:

with this code: \newcommand{\eqdef}{\overset{def}{=}}.
However, "def" extends over the edges of the equal sign. Is there a wider equal sign to use?
|
I have defined the equal by definition sign:
with this code: However, "def" extends over the edges of the equal sign. Is there a wider equal sign to use? |
||||
|
Just put two equals signs, backing up slightly:
This is how TeX builds extensible arrows.
The magic macro
and the magic is done by the fact that TeX doesn't put spaces between consecutive relation symbols:
will thus result in two equals signs slightly superimposed to each other. |
|||||||
|
|
|
The
If you want the boundary of the overset
which removes some space around |
||||
|
|
|
If you want the size to math exactly, you can use
|
|||||||||
|
|
It doesn't strictly answer the question but if you only want the "def" to be about the same size as the equal sign you could also resize the text, i.e.
This way it looks better (in my opinion) when used together with normal equal signs.
|
|||||
|
|
Here is one adaptation of the Philipp's proposition so as to take care of the different math modes.
|
||||
|
|
$\equiv$symbol or the macro$\overset{!}{=}$? – Mico Nov 19 '11 at 20:34