Is there a way to get a 'less than or equal to' symbol in to a text document?

123 次查看(过去 30 天)
I'm unable to find the correct code to get a 'less than or equal to' symbol in to a text document?

采纳的回答

ANIL LAMICHHANE
ANIL LAMICHHANE 2020-11-6
I think it should be
text(.4,.4,'$3 \leq 4$','interpreter','latex')
Source:
  4 个评论

请先登录,再进行评论。

更多回答(2 个)

Walter Roberson
Walter Roberson 2017-10-2
text(.4,.4,'$3 \le 4$','interpreter','latex')

Bruno Luong
Bruno Luong 2020-11-6
编辑:Bruno Luong 2020-11-6
To keep standard font
text(.2,.2,['3 ' char(8804) ' 4'])
text(.3,.3,['3≤4 (default)']) % if your editor is configured to support unicode
text(.4,.4,'$3 \leq 4$ latex','interpreter','latex')
text(.5,.5,'3 \leq 4 tex','interpreter','tex')

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by