フィルターのクリア

Can I use others languages when writing on latex

5 ビュー (過去 30 日間)
Lazaros Christoforidis
Lazaros Christoforidis 2020 年 6 月 12 日
コメント済み: madhan ravi 2020 年 6 月 13 日
Does matlab support any other language except english when writing on latex?
for example in latex you can use this command to change language: \selectlanguage{greek}
I want to change labels in a figure for example:
xlabel('$Γειά$','Interpreter','latex','FontSize',45)
I know I can try this:
xlabel('$\Gamma\epsilon\iota\alpha$','Interpreter','latex','FontSize',45)
but some letters cant be caps in greek in matlab,
also I cant do that: ά.

採用された回答

madhan ravi
madhan ravi 2020 年 6 月 12 日
編集済み: madhan ravi 2020 年 6 月 12 日
S = '$$\Gamma \quad \epsilon \quad \iota \quad \acute{\alpha}$$';
xlabel(S, 'interpreter', 'latex', 'FontSize', 45) % remove \quad if you don’t want space inbetween them

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 6 月 13 日
Unfortunately with latex you can only get the symbols, not the Greek letters such as Γ
Perhaps using Tex instead of Latex would work for you?
  5 件のコメント
Walter Roberson
Walter Roberson 2020 年 6 月 13 日
You think that with appropriate font selection that Γ might show up properly? Hmmm... perhaps.
madhan ravi
madhan ravi 2020 年 6 月 13 日
Sorry sir Walter , I don't know if it's a rhetorical question :(. But this case makes me so curious on how to overcome it xD. That's all I could come up with after making so many research.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by