0

I wanna to write a symbol like this:enter image description here

I tried\dashcong but it did not work. Does it require a new command? I hope someone can share the code.

Sandy G
  • 42,558

1 Answers1

6

You can make your own symbol using the techniques from this post. Here is a version using reflectbox from the graphicx package to make a reflected \cong symbol. Then \ooalign is used to superimpose two white rules to make the dash pattern. You can adjust the spacing of the dashes to your liking.

enter image description here

If you want your symbol to adjust to scriptsize you can use \mathpalette or \mathchoice. See here or here.

\documentclass{article}

\usepackage{graphicx} %for \reflectbox
\usepackage{color} %for \textcolor

\newcommand{\dashcong}{\mathrel{\ooalign{\reflectbox{$\cong$}\cr\hfil\textcolor{white}{\rule[.5ex]{.13em}{.3ex}\hspace{.13em}\rule[.5ex]{.13em}{.3ex}}\hfil\cr}}}

\begin{document}

$A\dashcong B$

\end{document}
Sandy G
  • 42,558