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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2020년 11월 23일

댓글:

2020년 11월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by