Combining different font styles while using latex interpretor

6 ビュー (過去 30 日間)
Ashesh Sharma
Ashesh Sharma 2022 年 12 月 5 日
コメント済み: Ashesh Sharma 2022 年 12 月 6 日
Hi, I am preparing some figures for a journal paper. For this I need to combine two different font styles for my axis labels and legends. For the variables, I need math mode, but for the text I need to be out of math mode using the arial font. So how may I go about modofying the below font such that the math mode is retained while the text part reverts to a different font type, e.g. Arial ?
xlabel ('$u_y$, CES', 'Interpreter','latex') =
I want -> CES

採用された回答

Walter Roberson
Walter Roberson 2022 年 12 月 6 日
Unfortunately, MATLAB does not permit including the amsfont package, or any other font package. The only font control you get with MATLAB's latex is things like \textrm
  1 件のコメント
Ashesh Sharma
Ashesh Sharma 2022 年 12 月 6 日
Hi, thank you for clarifying that. None of rm, sf, or tt cut it for me. Python it is!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by