how to get a superscript registered trademark (R) symbol?

462 views
Skip to first unread message

Jason S

unread,
Aug 12, 2016, 5:34:30 PM8/12/16
to sphinx-users

How can I superscript the ® symbol in Sphinx/RestructuredText?


The following does not work, I get a superscripted |reg| instead.


bigNameBrand\ :sup:`|reg|`


http://stackoverflow.com/questions/38924014/how-to-superscript-a-registered-trademark-in-sphinx-restructuredtext


Komiya Takeshi

unread,
Aug 15, 2016, 7:00:46 AM8/15/16
to sphinx-users
Hi,

The substitution does not work inside roles and directives.
So you should use :sup:`®` .

Thanks,
Takeshi KOMIYA


2016年8月13日土曜日 6時34分30秒 UTC+9 Jason S:
Reply all
Reply to author
Forward
0 new messages