2

Compile the following code with latex+dvips:

\documentclass{article}
\usepackage{newtxtext,newtxmath}
\begin{document}
\circledR \(\circledR\)
\end{document}

As a result, we get an empty document (except the page number). The compilation finishes successfully, only there is a hint in the log file:

"Missing character: There is no ò in font ntxsym!"

How to get ® in newtx in text and in math? Any (quick) bugfix? After all, the changelog of newtx says for version 1.515 this:

"Corrected definitions of [...] \circledR"

so, this character should work.

The newtx author has been e-mailed on 2019-07-11, but has not reacted as of 2019-07-17. If anyone has an e-mail address of him different from the one mentioned at CTAN, please feel free to nag him.

Crosspost: http://latex.org/forum/viewtopic.php?f=48&t=32670

  • 2
    The definition points to a non existent glyph. You can use \textregistered, though. – egreg Jul 11 at 13:17
2

Apparently, the characters in slots octal 362 and 363 of the font ntxsym didn't go through and indeed, if I look at the virtual font I see

(CHARACTER O 361
   (CHARWD R 0.504)
   (CHARHT R 0.688499)
   (CHARIC R 0.03)
   (MAP
      (MOVERIGHT R 0.03)
      (SELECTFONT D 1)
      (SETCHAR C q)
      )
   )
(CHARACTER O 364
   (CHARWD R 0.684)
   (CHARHT R 0.729)
   (CHARIC R 0.03)
   (MAP
      (MOVERIGHT R 0.03)
      (SELECTFONT D 1)
      (SETCHAR C t)
      )
   )

The two glyphs should be the circled R and S.

You can get them from the TX fonts where they should come from anyway.

\documentclass{article}
\usepackage{newtxtext,newtxmath}

\renewcommand{\circledR}{\mbox{\usefont{U}{txsya}{m}{n}\symbol{'162}}}
\renewcommand{\circledS}{\mbox{\usefont{U}{txsya}{m}{n}\symbol{'163}}}

\begin{document}

\circledR\ \circledS

\end{document}

enter image description here

  • First, thanks. Second, texdoc newtx says "As of version 1.4, newtxtext no longer depends on txfonts but is based on the richer source TeXGyre Termes, but newtxmath continues to use the txfonts math glyphs with many metric adjustments and some wholesale modifications." So, I guess, one should take tgtermes for the text symbols instead of txfonts (assuming that tgtermes have the symbol ®). – user49915 Jul 17 at 19:45
  • @MdAyq5 I proposed a workaround. Anyway, \textregistered seems even better. – egreg Jul 17 at 20:07
  • That's right. I switched to \textregistered already. My hope was that in the end of the day the package maintainer would show up here and do the job, but, as you see, it is you who saved the day. – user49915 Jul 17 at 20:12

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.