Math & Science"not in" symbol??

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
tsukiko
Posts: 3
Joined: Thu Jun 24, 2010 2:30 pm

"not in" symbol??

Post by tsukiko »

I'm looking for the "not in" symbol with a slash to the \in command.
I dont like the \ni and tried to use mathabx package, but i seem to fail in loading it. Any simpler way than using any package? Thanks in advanced..

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: "not in" symbol??

Post by frabjous »

The simplest answer:

\not\in

The packages txfonts, pxfonts, kpfonts, mathdesign and others provide \notin command, not just mathabx. (If you want to keep the document in the default Computer/Latin Modern, you could load one of these and then load lmodern right afterwards.)

(EDIT: Actually, after checking, on my system I can use \notin even without any packages.)
tsukiko
Posts: 3
Joined: Thu Jun 24, 2010 2:30 pm

Re: "not in" symbol??

Post by tsukiko »

@frabjous,
Thank you so much for the simplest answer. I'm really looking for it.
Thanks again. It saves my times lots.
Yeah, in my case, i cant directly use \notin commands.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

"not in" symbol??

Post by localghost »

tsukiko wrote:[....] Yeah, in my case, i cant directly use \notin commands.
I can't see the problem. Perhaps you can explain that more detailed.

Code: Select all

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\begin{document}
  $\not\in$ $\notin$
\end{document}
Nevertheless, if the problem is solved, please mark the topic accordingly as described in the Board Rules.


Best regards and welcome to the board
Thorsten
Post Reply