Euro symbol with Latex fontsize
20 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
niccolò guazzi
il 8 Dic 2018
Commentato: Christian Schröder
il 8 Giu 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 Commenti
Risposta accettata
Walter Roberson
il 8 Dic 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 Commento
Christian Schröder
il 8 Giu 2023
Alright, thanks Walter. I figured as much but wanted to make sure. I'll file an RFE then.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Distribution Plots 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!