9

How can I write a pretty \not\varepsilon? I want something like \notin, since I use \varepsilon as a relation symbol like \in.

19

Since \varepsilon has a smaller width than =, the alignment with \not is not perfect. \not is optimized for =. Package centernot helps to center the \not a little better:

\documentclass{article}
\usepackage{centernot}

\begin{document}
\[ a \not\mathrel{\varepsilon} b \]
\[ a \centernot\varepsilon b \]
\end{document}

Result

5

You can just juggle with the spacing a bit I'm not sure it classifies as pretty though:

enter image description here

\documentclass{article}

\def\noteps{\mathrel{\!\not\mathrel{\,\varepsilon\!}\,}}

\begin{document}

$a \notin b \noteps c$
\end{document}
2

I'm nor sure if it is pretty, but...

\documentclass{article}

\begin{document}

\def\nwe{\mathrel{\not\mskip-\thinmuskip\varepsilon}}

$a \nwe A$

\end{document}

Result

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.