Adding underscore in xlabel latex interpreter

Hi all,
I intend to add underscore in xlabel title using latex interpreter, but somehow, I am not success..
Basically, I need L subscript(ex)_L.. Below command yields me L_subscript(ex), but, the portion after underscore I am not getting.. Please help..
xlabel('$L_{(ex)}_L$','fontweight','bold','FontSize',20,'Interpreter','latex');

 採用された回答

Ameer Hamza
Ameer Hamza 2020 年 11 月 23 日

0 投票

Are you looking for something like this
xlabel('$L_{{(ex)}_L}$','fontweight','bold','FontSize',20,'Interpreter','latex');

4 件のコメント

Turbulence Analysis
Turbulence Analysis 2020 年 11 月 23 日
Actually, I am looking for L sub (ex)_L , but the above command gives L sub (ex) sub L.....
Ameer Hamza
Ameer Hamza 2020 年 11 月 23 日
You can escape the underscore
xlabel('$L_{{(ex)}\_L}$','fontweight','bold','FontSize',20,'Interpreter','latex');
Turbulence Analysis
Turbulence Analysis 2020 年 11 月 23 日
Perfect, You nailed it..
Thanks...
Ameer Hamza
Ameer Hamza 2020 年 11 月 23 日
I am glad to be of help! :)

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

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by