Is there a way to get a 'less than or equal to' symbol in to a text document?
134 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Eric Pulling
el 2 de Oct. de 2017
Comentada: madhan ravi
el 6 de Nov. de 2020
I'm unable to find the correct code to get a 'less than or equal to' symbol in to a text document?
0 comentarios
Respuesta aceptada
ANIL LAMICHHANE
el 6 de Nov. de 2020
I think it should be
text(.4,.4,'$3 \leq 4$','interpreter','latex')
Source:
4 comentarios
Walter Roberson
el 6 de Nov. de 2020
- 3 \le 4 =>
- 3 \leq 4 =>
Ah, they are synonyms apparently: https://tex.stackexchange.com/questions/182620/why-does-leq-show-up-as-le
Más respuestas (2)
Bruno Luong
el 6 de Nov. de 2020
Editada: Bruno Luong
el 6 de Nov. de 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')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/405520/image.png)
0 comentarios
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!