6

How can I create the following symbols, or is there it? I didn't find it?

enter image description here

3 Answers 3

11
\documentclass{article}
\usepackage{amsmath,graphicx}
\newcommand{\mynoteq}{\mathrel{\text{$\ooalign{$=$\cr\hidewidth$\mycross$\hidewidth\cr}$}}}
\newcommand{\mycross}{%
   \vcenter{\hbox{\scalebox{1.3}{$\times$}}}
   }

\begin{document}
  $ a \mynoteq d_{a \mynoteq d_{a \mynoteq d}}$

  $ a \mynoteq d^{a \mynoteq d^{a \mynoteq d}}$

  $ a = d$
\end{document}

enter image description here

6
  • It is working. But is it possible big \times? This is a little small \times. @Harish Kumar,
    – Özgür
    Nov 2, 2015 at 4:26
  • 1
    @Özgür Give me some time. It is easy and possible.
    – user11232
    Nov 2, 2015 at 4:28
  • 1
    @Özgür Please see the update. You may change the number in \scalebox as you wish.
    – user11232
    Nov 2, 2015 at 4:37
  • My question is closed for me. Thanks. @Harish Kumar
    – Özgür
    Nov 2, 2015 at 4:39
  • +1. The outer pair of $ symbols in the definition of \mycross seem unnecessary, though.
    – Mico
    Nov 2, 2015 at 6:11
4

With picture mode:

\documentclass{article}
\usepackage{pict2e}

\makeatletter
\newcommand{\nnoteq}{\mathrel{\mathpalette\nnot@eq\relax}}
\newcommand{\nnot@eq}[2]{%
  \sbox\z@{$\m@th#1=$}%
  \vcenter{\rlap{%
    \setlength{\unitlength}{\wd0}%
    \begin{picture}(1,1)
    \linethickness{0.4pt}%
    \ifx#1\scriptstyle
      \linethickness{.9\@wholewidth}%
    \else
      \ifx#1\scriptscriptstyle
        \linethickness{.75\@wholewidth}%
      \fi
    \fi
    \roundcap
    \put(0.1,0.1){\line(1,1){0.8}}
    \put(0.1,0.9){\line(1,-1){0.8}}
    \end{picture}%
  }}%
  {=}%
}

\begin{document}

$a\nnoteq b_{\nnoteq_{\nnoteq}}$

\end{document}

enter image description here

0
3

This could probably be optimized a little more:

enter image description here

\documentclass{article}

\usepackage{centernot,graphicx}

\newcommand{\xequal}{\mathrel{\mathchoice
  {\centernot{\reflectbox{$\neq$}}}
  {\centernot{\reflectbox{$\neq$}}}
  {\centernot{\reflectbox{$\scriptstyle\neq$}}}
  {\centernot{\reflectbox{$\scriptscriptstyle\neq$}}}}}

\begin{document}

$a = b \xequal c^{d = e \xequal f^{g = h \xequal i}}$

\end{document}
1
  • I didn't know that package. Good for me. @Werner.
    – Özgür
    Nov 2, 2015 at 4:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .