0

I am looking to produce a symbol \Smallsetminus which looks like \smallsetminus, but has two lines instead of one. It should look similar to \newcommand{\Minus}{\rotatebox[]{-45}{$=$}}, but the thickness of each individual line will ideally look the same as the thickness of the singular line appearing in \smallsetminus.

Thank you!

1

1 Answer 1

1

Like this?

\documentclass{article}
\usepackage{amssymb}
\newcommand{\Smallsetminus}{\mathrel{\smallsetminus\mkern-9mu\smallsetminus}}
\begin{document}

$AB\Smallsetminus CD$ $ab\Smallsetminus cd$

\end{document}

enter image description here

5
  • Why \mathrel? Shouldn’t it be \mathbin?
    – egreg
    Jan 14, 2023 at 9:56
  • 1
    @egreg Yes. That depends on the actual usage of \Smallsetminus.
    – Stephen
    Jan 14, 2023 at 10:28
  • @Stephen That is almost exactly what I am looking for. Is it possible to make the lines start and end in the same spot? (Just like the rotated equals command.) Jan 14, 2023 at 16:56
  • Perhaps \smallsetminus\mkern-12mu\raisebox{.3ex}{$\smallsetminus$} is what OP wants? Of course this will need adjustments for script sizes e.g. with mathchoice.
    – Sandy G
    Jan 14, 2023 at 17:16
  • @SandyG Perfect. Thank you! Jan 14, 2023 at 21:53

You must log in to answer this question.

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