[Tex/LaTex] Center the \not to the letter

relation-symbolssymbols

I searched but I didn't find anything: does anyone know how to center the \not{A} to the letter instead of typing it a little before?

Best Answer

As I said in my earlier comment, I think \not is supposed to work with \mathrel objects, of which A is not (it is \mathord).

With that in mind, here are two possible ways.

\documentclass{article}
\usepackage{stackengine}
\stackMath
\begin{document}
\begin{equation}
B\mathord{\not\mathrel{A}}C
\end{equation}
\begin{equation}
B\stackengine{0pt}{A}{/}{O}{c}{F}{F}{L}C
\end{equation}
\end{document}

enter image description here