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

136 Ansichten (letzte 30 Tage)
I'm unable to find the correct code to get a 'less than or equal to' symbol in to a text document?

Akzeptierte Antwort

ANIL LAMICHHANE
ANIL LAMICHHANE am 6 Nov. 2020
I think it should be
text(.4,.4,'$3 \leq 4$','interpreter','latex')
Source:
  4 Kommentare

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

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

Bruno Luong
Bruno Luong am 6 Nov. 2020
Bearbeitet: Bruno Luong am 6 Nov. 2020
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')

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by