Euro symbol with Latex fontsize
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
niccolò guazzi
le 8 Déc 2018
Commenté : Christian Schröder
le 8 Juin 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 commentaires
Réponse acceptée
Walter Roberson
le 8 Déc 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 commentaire
Christian Schröder
le 8 Juin 2023
Alright, thanks Walter. I figured as much but wanted to make sure. I'll file an RFE then.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Distribution Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!