Euro symbol with Latex fontsize
20 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
niccolò guazzi
am 8 Dez. 2018
Kommentiert: Christian Schröder
am 8 Jun. 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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 8 Dez. 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 Kommentar
Christian Schröder
am 8 Jun. 2023
Alright, thanks Walter. I figured as much but wanted to make sure. I'll file an RFE then.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!