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 (최근 30일)
이전 댓글 표시
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.
채택된 답변
MathWorks Support Team
2010년 7월 19일
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')
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 LaTeX에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!