I would like to produce a new equal symbol looking like this.
.
What is the best way to do that ? Pure TeX ? TiKz ?
I'm looking for ways to do that rather than to a ready to use solution such as to be able to other new symbols alone.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityBefore somebody suggests MnSymbol
…
\documentclass{article}
\usepackage{amsmath}
\makeatletter
\providecommand{\hateq}{\mathrel{\mathpalette\my@hat@eq\relax}}
\newcommand{\my@hat@eq}[2]{%
\begingroup
\sbox\z@{$\m@th#1=$}%
\ooalign{%
\hidewidth\raisebox{-0.3\ht\z@}{$\m@th#1\widehat{}$}\hidewidth\cr
\box\z@\cr
}%
\endgroup
}
\makeatother
\begin{document}
$A\cong B\hateq C$
\end{document}
With \hat
instead of \widehat
:
\documentclass{article}
\usepackage{amsmath}
\makeatletter
\providecommand{\hateq}{\mathrel{\mathpalette\my@hat@eq\relax}}
\newcommand{\my@hat@eq}[2]{%
\begingroup
\sbox\z@{$\m@th#1=$}%
\ooalign{%
\hidewidth\raisebox{-0.2\ht\z@}{$\m@th#1\hat{}$}\hidewidth\cr
\box\z@\cr
}%
\endgroup
}
\makeatother
\begin{document}
$A\cong B\hateq C$
\end{document}
\wedgeq
in the stix
fonts)? (I know the shape is slightly different, but what about the meaning?)
Sep 27, 2019 at 18:24
What you want could be obtained using
\documentclass[12pt]{article}
\usepackage{amsmath}
\newcommand{\circumeq}{\mathrel{\widehat{=}}}
\begin{document}
\begin{equation*}
a \circumeq b
\end{equation*}
\end{document}
\ooalign
\stackinset
command from ` stackengine` (see § 2.3.10 in the documentation).
The ≙ symbol is U+2259 in Unicode. It has the name \wedgeq
in several newer packages, including unicode-math
and stix
. It is \hateq
in two older ones, mnsymbol
and fdsymbol
. One completely obsolete one, boisik
, has \corresponds
.
Edit: Sorry, just noticed that Barbara Beeton said that in a comment first. Props!
\wedgeq
in the stix fonts). What is your intended meaning? (If it's the same. I'll try to add an answer, but since I don't have easy access to a tex system at the moment, including a visual will be difficult.)