[Tex/LaTex] How to write the negation of $\succsim$ without using txfonts or pxfonts packages

relation-symbolssymbols

My problem is that I want to keep the original font and still use the negation off \succsim. I don't want to switch to \nsucceq. This is the symbol I want to write: The sentence I want to write.

Best Answer

You might use \not\succsim, but the slash doesn't combine too well. With an ordinary slash it seems a bit better.

\documentclass{article}
\usepackage{amsmath,amssymb}

\makeatletter
\newcommand{\varnotsuccsim}{\mathrel{\mathpalette\varn@t\succsim}}
\newcommand{\varn@t}[2]{%
  \vphantom{/{#2}}%
  \ooalign{\hfil$\m@th#1/\mkern2mu$\cr\hfil$\m@th#1#2$\hfil\cr}%
}
\makeatother

\begin{document}

$A\varnotsuccsim B$ \verb|\varnotsuccsim|

$A\not\succsim B$   \verb|\not\succsim|

\end{document}

enter image description here