1

Some time ago I needed a bigger \nmid. From

Why does \big\mid not work?

I found a solution by using \bigm\vert. Now I need the "not dividing" symbol that is a bigger than \nmid. I see some ways to get it bigger, but it needs to be compatible with the \bigm\vert. How do I do this?

Thomas
  • 2,837

1 Answers1

2

I have recreated the new \nmid using your starting \bigm\vert with a \nnmid inserted into a macro that exactly simulates the "not dividing" larger symbol and it aligns perfectly with your \bigm\vert. I hope that I have answered your question.

\documentclass[a4paper,12pt]{article}

\usepackage{amsmath,amssymb} \usepackage{graphicx} \newcommand{\nnmid}{\bigm\vert\kern-1.5ex\raisebox{.4ex}{\rotatebox[origin=c]{40}{--}}}

\begin{document} [a\nmid b \nnmid d\bigm\vert c]

\end{document}

enter image description here

You can choose also this MWE where the minus sign it is more tickness.

\documentclass[a4paper,12pt]{article}

\usepackage{amsmath,amssymb} \usepackage{graphicx} \newcommand{\nnmid}{\bigm\vert\kern-2.2ex\raisebox{.4ex}{\rotatebox[origin=c]{40}{$-$}}}

\begin{document} [a\nmid b \nnmid d\bigm\vert c]

\end{document}

enter image description here

Sebastiano
  • 54,118