Created
November 12, 2023 18:34
-
-
Save thomasahle/484d6d362743c433d3b22e94612f88f2 to your computer and use it in GitHub Desktop.
Latex code for "does not divide" symbols
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{graphicx} | |
\newcommand{\shortslash}{\raisebox{0.2ex}{\scalebox{0.65}{/}}} | |
\newcommand{\notdivides}{\!\mathrel{\backslash\kern-0.4em\shortslash}\!} | |
\newcommand{\notdividesTim}{\!\!\mathrel{\rotatebox[origin=c]{20}{$\nmid$}}\!\!} | |
\def\notdividesHeinrich{\mathpalette\notdiv\relax} | |
\let\divides=\backslash | |
\def\notdiv#1#2{\setbox0=\hbox{$#1\divides$}% | |
\vcenter{\hbox to\wd0{\hss$\scriptscriptstyle/\hss$}}\kern-\wd0 | |
\vcenter{\hbox to\wd0{\hss$\scriptscriptstyle/\hss$}}\kern-\wd0 | |
\box0\relax} | |
\usepackage{wasysym} | |
\newcommand{\notdividesFiddley}{\notbackslash} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment