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

59 visualizzazioni (ultimi 30 giorni)
I'm unable to find the correct code to get a 'less than or equal to' symbol in to a text document?

Risposta accettata

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

Accedi per commentare.

Più risposte (2)

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

Bruno Luong
Bruno Luong il 6 Nov 2020
Modificato: Bruno Luong il 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')

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by