Math & ScienceSymbol for »not proportional to«

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

Symbol for »not proportional to«

Post by juliette »

Hello, I couldn't find a "not proportional to symbol" .. I just want \propto but with a line through it.

I haven't figured out how to use MetaFont to create my own symbols yet, so if the character already exists I'd be eager to know!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Symbol for »not proportional to«

Post by gmedina »

Hi,

perhaps something like this?

Code: Select all

\documentclass[11pt]{article}
\usepackage{cancel}

\begin{document}

$\cancel{\propto}$

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

Symbol for »not proportional to«

Post by juliette »

This was the best I could do, but it still doesn't look so nice:

Code: Select all

\makeatletter
\newcommand{\notprop}{\propto\kern-1\@ptsize pt \diagup}
\makeatother
If anyone has a better solution, I'd be eager to learn it!
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: Symbol for »not proportional to«

Post by phi »

\not\propto might produce an acceptable result.
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

Re: Symbol for »not proportional to«

Post by juliette »

Oh thanks gmedina! I didn't see your post before I posted again.
That's neat, I didn't know about \cancel,

I think I like the solution that I posted afterwards a little bit more because not as much of the \propto gets hidden, but I would still either like to have the \propto a little bit bigger so that the top arm doesn't get covered by the slash, or I would like to have the slight pointing at less of an angle with respect to the vertical... maybe I'm asking for too much.
juliette
Posts: 75
Joined: Thu Nov 20, 2008 10:15 pm

Re: Symbol for »not proportional to«

Post by juliette »

\not\propto is a lot nicer, thanks phi and gmedina!
Post Reply