how to write on top of equal sign for description in latex code example
Example 1: tex write above
$\overset{\mathrm{def}}{=}$
Example 2: latex equals with text
$\stackrel{sometext}{=}$
$\overset{\mathrm{def}}{=}$
$\stackrel{sometext}{=}$