3

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?

Desired repetition sign:

repetition sign

  • 4
    \documentclass{article} \begin{document} $\raisebox{-0.2ex}{$\colon$}/\raisebox{-0.2ex}{$\colon$}$ \end{document} ? – user194703 Jan 7 at 19:02
  • Thanks! That worked with few adjustments. You deserve some points. – Sapiens Jan 7 at 19:29
  • 2
    Thanks, I have enough points. ;-) But you might want to post what you have, either as an answer or add it to the question. There might be some experts (e.g. Steven) seeing this provide you with some more insights. – user194703 Jan 7 at 19:54
4

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}

enter image description here

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}

enter image description here

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}

enter image description here

| improve this answer | |
  • 3
    I was hoping you'd see this. ;-) – user194703 Jan 7 at 20:21
  • Nice! Can you tilt the colons so that they are askew as the slash? – Sapiens Jan 7 at 20:23
  • It is for a poem where I use the verse package. – Sapiens Jan 7 at 20:25
  • 1
    @Sapiens Please see my edit... – Steven B. Segletes Jan 7 at 20:26
  • Great! That is a nice one! :) – Sapiens Jan 7 at 20:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.