1

I've created a small custom symbol in TikZ and I've noticed that when I resize the resulting pdf the symbol "bounces around" inconsistently. This means that when zoomed out the result looks odd, with each occurrence of the symbol being slightly off. It's no

For the sake of a minimal example, I can reproduce the bad behavior with this macro.

\newcommand{\myCircledR}{%
  \mathrel{%
    \begin{tikzpicture}[baseline={([yshift=-0.1em]char.base)}]%
      \node[shape=circle,draw,scale=0.7,minimum size=3mm,inner sep=1pt]%
      (char) {\textup{R}};
    \end{tikzpicture}%
  }%
}

Is there anything that can be done to prevent this inconsistent resizing?

  • 1
    off-topic: do you know \circledR from amssymb package? – Sigur Jan 9 at 20:57
  • @Sigur Yeah, thank you though! I'm calling it \myCircledR just to make clear that its custom and this is just a stripped down example of my actual operator. – jozefg Jan 9 at 20:59
  • 1
    Any chance you could take screenshots of this variation? Running this snippet, I don't immediately notice what you are talking about. Can you also clarify what PDF viewer(s) you are using? Are you seeing the same behavior in multiple viewers? – whatisit Jan 10 at 2:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.