how to change one part of the string to NOT italic font?
28 views (last 30 days)
Show older comments
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
Accepted Answer
Joseph Cheng
on 11 Apr 2014
Edited: Joseph Cheng
on 11 Apr 2014
you can do something like this
>> title('this text is {\bfbold} this text is {\ititalizized}')
0 Comments
More Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!