Why does the LaTeX command \textbf{\textregistered} displays the glyph with "r" in a circle and not the capital letter "R" in a circle in MATLAB 7.9 (R2009b)?

5 views (last 30 days)
The command:
text(0.1,0.5,'\textbf{\textregistered}','Interpreter', 'latex')
returns the text registered symbol with a non capital "r". I was expecting to obtain the standard symbol with a capital R in a circle.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 Jul 2010
This is an expected behavior. The \textregistered macro when included in bold text, since it is composed of small-caps letter, degrades to a regular shape letter in bold font.
The glyph then becomes a circled "r" instead of a circled "R". In standard LaTeX the use of additional packages like "textcomp" can solve the issue. MATLAB offers a limited subset of LaTeX instruction and it does not include this package to correctly display the symbol in bold format.
As a workaround consider using the command without the \textbf{} option:
text(0.1,0.5,'{\textregistered}','Interpreter', 'latex')

More Answers (0)

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!