MATLAB Answers

Kobi
0

how to change one part of the string to NOT italic font?

Asked by Kobi
on 11 Apr 2014
Latest activity Edited by Joseph Cheng
on 11 Apr 2014
i have this code:
xlhand = get(gca,'xlabel');set(xlhand,'string','string and not italic',...
'fontsize',15,'FontAngle','italic');
i need the text 'not italic' to be normal how can i do that?

  0 Comments

Sign in to comment.

1 Answer

Answer by Joseph Cheng
on 11 Apr 2014
Edited by Joseph Cheng
on 11 Apr 2014
 Accepted Answer

you can do something like this
>> title('this text is {\bfbold} this text is {\ititalizized}')

  0 Comments

Sign in to comment.