Euro symbol with Latex fontsize
20 ビュー (過去 30 日間)
古いコメントを表示
niccolò guazzi
2018 年 12 月 8 日
コメント済み: Christian Schröder
2023 年 6 月 8 日
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 件のコメント
採用された回答
Walter Roberson
2018 年 12 月 8 日
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 件のコメント
Christian Schröder
2023 年 6 月 8 日
Alright, thanks Walter. I figured as much but wanted to make sure. I'll file an RFE then.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Distribution Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!