The $\textdiscount$
has only 1 dot on each side of the line. I would rather have two points on each side, as in the link. How may I get it?
1 Answer
Here's an approach using a stack. It would help to know the context of it's use. For example, I have not added any math space around it.
\documentclass{article}
\usepackage{stackengine,scalerel}
\newcommand\repsign{\stackengine{0pt}{:\kern2pt:}{\scalerel*{/}{X}}{O}{c}{F}{F}{L}}
\begin{document}
\repsign
\end{document}
Not knowing its true appearance (I can't access the provided link), here is another possibility:
\documentclass{article}
\usepackage{stackengine,scalerel}
\newcommand\repsign{\stackengine{0pt}{:\kern2pt:}{%
\scalerel*{\ooalign{/\cr\kern.4pt/}}{Xg}}{O}{c}{F}{F}{L}}
\begin{document}
\repsign
\end{document}
And, based on a comment from the OP,
\documentclass{article}
\usepackage{stackengine,scalerel}
\newcommand\repsign{\stackengine{0pt}{\kern-.7pt\itshape:\kern1pt:\/}{%
\scalerel*{\ooalign{/\cr\kern.25pt/}}{Xg}}{O}{c}{F}{F}{L}}
\begin{document}
\repsign
\end{document}
-
4I was hoping you'd see this. ;-)– user194703Jan 7, 2020 at 20:21
-
-
-
1
-
\documentclass{article} \begin{document} $\raisebox{-0.2ex}{$\colon$}/\raisebox{-0.2ex}{$\colon$}$ \end{document}
?