6

I need to denote that two varibles do not unify. A \not \sqcup B produces an unpleasant result:

enter image description here

Is there a symbol where the strikeout line is centered likd in $\neq$?

9

Maybe using \slashed or \centernot (as egreg suggests)?

\documentclass{article}

\usepackage{amsmath}
\usepackage{slashed}
\usepackage{centernot}

\begin{document}

\[A \sqcup  B\]
\[A \mathbin{\slashed{\sqcup}}  B\]
\[A \centernot\sqcup  B\]

\end{document} 

enter image description here

  • 1
    I also suggest centernot – egreg May 14 '17 at 8:45
  • 1
    @egreg of course, thanks. In this case, however, I think it looks a little better with \slashed :-) – karlkoeller May 14 '17 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.