Why does this not make the text bold?
text(x8,y8,txt8,'Interpreter','latex','FontSize',10,'FontWeight','b')

답변 (1개)

Cam Salzberger
Cam Salzberger 2017년 11월 1일

0 개 추천

Hello Benjamin,
The 'latex' interpreter appears to be what is preventing the 'FontWeight' property from having an effect. If you remove the 'Interpreter' specification, the bold font is applied.
For an alternative way of applying bold formatting to latex-interpreted text, see this answer.
-Cam

카테고리

도움말 센터 및 File Exchange에서 Language Support에 대해 자세히 알아보기

태그

질문:

2017년 11월 1일

답변:

2017년 11월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by