Looking the @egreg's answer where I have deleted some parts of code
\documentclass[12pt]{article}
\newcommand{\parallelsum}{\mathbin{\!/\mkern-5mu/\!}}
\begin{document}
$AB \parallelsum CD$
\end{document}
I would to change the classical symbol of \parallel
to obtain another same symbol of parallel
where the slanted should not be above and below the two red lines, are closer to each other and are in line with the text, in mathematical mode in both subscript and overscript mode. If there's already a symbol like this I'm searching for even better for me.
Best Answer
Raise and scale.
A different implementation with
picture
mode. One can easily vary the slope by acting on the second argument to\mathpalette
.This is for Computer Modern fonts; for different fonts,
\roundcap
might be omitted. In the example I show the standard slash to compare the line thickness.