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)?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
MathWorks Support Team
am 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')
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu LaTeX finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!