Euro symbol with Latex fontsize
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
niccolò guazzi
el 8 de Dic. de 2018
Comentada: Christian Schröder
el 8 de Jun. de 2023
Hi everyone,
I'm using the Latex fontsize package for plotting some graphs. When writing the labels i have a problem writing the euro symbol; the symbol altgr+E is not recognised and it looks like it doesn't accept the usual Tex syntax
\text{\euro}
or
\euro
Precisly i'm writing a label like this:
ylabel('NPV $[{\euro}]$','interpreter','Latex','fontsize',11);
or
ylabel('NPV $[{\€}]$','interpreter','Latex','fontsize',11);
It is strange because only few strings before i wrote:
xlabel('Temperatura $[^{\circ}C]$','interpreter','Latex','fontsize',11);
and i got no problems.
I've already tried looking at this but didn't solve https://it.mathworks.com/matlabcentral/answers/232589-how-to-add-latex-packages-for-the-latex-interpreter-how-to-print-the-euro-symbol-with-the-latex-in
Thanks in advance!
0 comentarios
Respuesta aceptada
Walter Roberson
el 8 de Dic. de 2018
This is not currently possible in Latex mode in MATLAB. See https://www.mathworks.com/matlabcentral/answers/361442-how-can-i-plot-the-euro-symbol-which-is-its-codification-on-matlab#answer_285904
1 comentario
Christian Schröder
el 8 de Jun. de 2023
Alright, thanks Walter. I figured as much but wanted to make sure. I'll file an RFE then.
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Distribution Plots 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!