This is a follow-up question to this one: How can I get a "divide by" symbol with \usepackage{physics}? In the referenced question the OP asked how to \undef
a redefined \div
. I want to reinvent the wheel, and see the exact "source code" what is used to render \div
in the first place. But where do I find it?
Here is a MNWE:
\documentclass{article}
\begin{document}
What is the \emph{exact} ``source code'' of
\ttfamily\textbackslash div\normalfont, and
where do I find it? Whatever it is, it renders
this: $\div$. I want to use it as a
starting-point to \ttfamily\textbackslash
def \normalfont my own variant
\ttfamily\textbackslash mydiv\normalfont.
\end{document}
Bonus question: how do I write \ttfamily \textbackslash
(the MNWE above gives me a warning about "font shapes not available").
\show\div
\verb|\def|